This commit is contained in:
Ross
2021-08-31 22:15:00 +01:00
parent 18b0be55cd
commit f272a8ee5e
+1 -1
View File
@@ -174,7 +174,7 @@ class ExamViews(View, LoginRequiredMixin):
return False
if self.app_name == "anatomy" and not user.groups.filter(name='anatomy_checker').exists():
return False
if self.app_name == "longs" and not user.groups.filter(name='long_checker').exists():
if self.app_name == "longs" and not user.groups.filter(name_in=('long_checker', 'long_marker')).exists():
return False
if self.app_name == "physics" and not user.groups.filter(name='physic_checker').exists():
return False