Skip to content
Snippets Groups Projects
Unverified Commit b1436e94 authored by Tom Teichler's avatar Tom Teichler :beers:
Browse files

Only superuser should be able to see the menus.

parent bd349a48
No related branches found
No related tags found
No related merge requests found
...@@ -10,7 +10,7 @@ MENUS = { ...@@ -10,7 +10,7 @@ MENUS = {
{ {
'name': _('Current lesson'), 'name': _('Current lesson'),
'url': 'lesson', 'url': 'lesson',
'validators': ['menu_generator.validators.is_authenticated'] 'validators': ['menu_generator.validators.is_authenticated', 'menu_generator.validators.is_superuser']
} }
] ]
} }
......
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