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

Only superusers should be allowed to see the menus.

parent e71dfbd0
No related branches found
No related tags found
No related merge requests found
......@@ -15,12 +15,12 @@ MENUS = {
{
'name': _('Persons'),
'url': 'persons',
'validators': ['menu_generator.validators.is_authenticated']
'validators': ['menu_generator.validators.is_authenticated', 'menu_generator.validators.is_superuser']
},
{
'name': _('Groups'),
'url': 'groups',
'validators': ['menu_generator.validators.is_authenticated']
'validators': ['menu_generator.validators.is_authenticated', 'menu_generator.validators.is_superuser']
}
],
'FOOTER_MENU_CORE': [
......
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