From 3efec9b19a9b62389569f1556e17450047fe4561 Mon Sep 17 00:00:00 2001 From: Tom Teichler <tom.teichler@teckids.org> Date: Mon, 2 Sep 2019 23:24:19 +0200 Subject: [PATCH] Use validator if user is linked with a person. --- biscuit/apps/alsijil/menus.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/biscuit/apps/alsijil/menus.py b/biscuit/apps/alsijil/menus.py index fbeb707b1..32c08208e 100644 --- a/biscuit/apps/alsijil/menus.py +++ b/biscuit/apps/alsijil/menus.py @@ -6,7 +6,7 @@ MENUS = { 'name': _('Class register'), 'url': '#', 'root': True, - 'validators': ['menu_generator.validators.is_authenticated'], + 'validators': ['menu_generator.validators.is_authenticated', 'biscuit.core.util.core_helpers.has_person'], 'submenu': [ { 'name': _('Current lesson'), -- GitLab