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

Use validator if user is linked with a person.

parent e34d9971
No related branches found
No related tags found
No related merge requests found
......@@ -5,7 +5,7 @@ MENUS = {
{
'name': _('Units import'),
'url': 'untis_import',
'validators': ['menu_generator.validators.is_authenticated', 'menu_generator.validators.is_superuser'],
'validators': ['menu_generator.validators.is_authenticated', 'menu_generator.validators.is_superuser', 'biscuit.core.util.core_helpers.has_person'],
}
]
}
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