Skip to content
Snippets Groups Projects
Commit 010205ef authored by Hangzhi Yu's avatar Hangzhi Yu
Browse files

Drop check for documentations menu point

parent d2253bdd
No related branches found
No related tags found
1 merge request!428Resolve "Make permission check for coursebook route faster"
Pipeline #193630 failed
......@@ -165,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