.
This commit is contained in:
+1
-1
@@ -301,7 +301,7 @@ class ExamViews(View, LoginRequiredMixin):
|
|||||||
if (
|
if (
|
||||||
self.app_name == "anatomy"
|
self.app_name == "anatomy"
|
||||||
and not user.groups.filter(
|
and not user.groups.filter(
|
||||||
name__in=["anatomy_checker", "anatomy_feedback"]
|
name__in=["anatomy_checker", "anatomy_marker"]
|
||||||
).exists()
|
).exists()
|
||||||
):
|
):
|
||||||
return False
|
return False
|
||||||
|
|||||||
Reference in New Issue
Block a user