Skip to content
Snippets Groups Projects
Commit 77e9c3eb authored by Nik | Klampfradler's avatar Nik | Klampfradler Committed by Hangzhi Yu
Browse files

Apply 1 suggestion(s) to 1 file(s)

parent 6ba91239
No related branches found
No related tags found
1 merge request!276Resolve "Allow parent group owners to edit lesson documentations/etc. of courses"
Pipeline #74369 canceled
......@@ -139,7 +139,7 @@ class SelectForm(forms.Form):
# Filter selectable teachers by permissions
if not check_global_permission(self.request.user, "alsijil.view_week"):
# If the user hasn't got the global permission and the inherit privileges preference is
# turned off, the user is only allowed to see his own person. Otherwise, the user
# turned off, the user is only allowed to see their own person. Otherwise, the user
# is allowed to see all persons that teach lessons that the given groups attend.
if get_site_preferences()["alsijil__inherit_privileges_from_parent_group"]:
teacher_pks = []
......
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