Skip to content
Snippets Groups Projects
Verified Commit fd5d4841 authored by Jonathan Weth's avatar Jonathan Weth :keyboard:
Browse files

Merge branch 'master' into 266-add-statistics-page-for-absences

parents 5ffa24ae fa0bace5
No related branches found
No related tags found
1 merge request!361Resolve "Add statistics page for absences"
Pipeline #193660 failed
......@@ -16,7 +16,6 @@ from .util.predicates import (
can_edit_personal_note,
can_register_absence_for_at_least_one_group,
can_register_absence_for_person,
can_view_any_documentation,
can_view_documentation,
can_view_participation_status,
can_view_personal_note,
......@@ -166,9 +165,7 @@ view_documentations_for_group_predicate = has_person & (
)
add_perm("alsijil.view_documentations_for_group_rule", view_documentations_for_group_predicate)
view_documentations_menu_predicate = has_person & (
has_global_perm("alsijil.view_documentation") | can_view_any_documentation
)
view_documentations_menu_predicate = has_person
add_perm("alsijil.view_documentations_menu_rule", view_documentations_menu_predicate)
view_documentations_for_teacher_predicate = 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