.
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user