Skip to content
Snippets Groups Projects
Verified Commit 3efec9b1 authored by Tom Teichler's avatar Tom Teichler :beers:
Browse files

Use validator if user is linked with a person.

parent d886d3f0
No related branches found
No related tags found
No related merge requests found
...@@ -6,7 +6,7 @@ MENUS = { ...@@ -6,7 +6,7 @@ MENUS = {
'name': _('Class register'), 'name': _('Class register'),
'url': '#', 'url': '#',
'root': True, 'root': True,
'validators': ['menu_generator.validators.is_authenticated'], 'validators': ['menu_generator.validators.is_authenticated', 'biscuit.core.util.core_helpers.has_person'],
'submenu': [ 'submenu': [
{ {
'name': _('Current lesson'), 'name': _('Current lesson'),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment