diff --git a/aleksis/apps/alsijil/rules.py b/aleksis/apps/alsijil/rules.py index a295a1dbd731b6494ddce0881e388ca7cfb4c961..3ff73d657e67a0c5b64f8ddf156ce895676fbcb6 100644 --- a/aleksis/apps/alsijil/rules.py +++ b/aleksis/apps/alsijil/rules.py @@ -44,6 +44,7 @@ add_perm("alsijil.view_lesson_menu", has_person) # View lesson personal notes view_lesson_personal_notes_predicate = view_lesson_predicate & ( ~is_lesson_participant + | is_lesson_teacher | has_global_perm("alsijil.view_personalnote") | has_lesson_group_object_perm("core.view_personalnote_group") )