From 1073b77c7f34051d6f2602e56b131c51ad886bdc Mon Sep 17 00:00:00 2001 From: Tom Teichler <tom.teichler@teckids.org> Date: Mon, 2 Sep 2019 23:23:07 +0200 Subject: [PATCH] Use validator if user is linked with a person. --- biscuit/apps/chronos/menus.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/biscuit/apps/chronos/menus.py b/biscuit/apps/chronos/menus.py index a2709a21..109bbb85 100644 --- a/biscuit/apps/chronos/menus.py +++ b/biscuit/apps/chronos/menus.py @@ -6,7 +6,7 @@ MENUS = { 'name': _('Timetables'), 'url': '#', 'root': True, - 'validators': ['menu_generator.validators.is_authenticated'], + 'validators': ['menu_generator.validators.is_authenticated', 'biscuit.core.util.core_helpers.has_person'], 'submenu': [ { 'name': _('Timetable'), -- GitLab