.
This commit is contained in:
+4
-4
@@ -299,8 +299,8 @@ class ExamViews(View, LoginRequiredMixin):
|
||||
if (exam.open_access and exam.active) or user in exam.get_author_objects():
|
||||
return True
|
||||
|
||||
if exam.authors_only:
|
||||
return False
|
||||
if exam.authors_only:
|
||||
return False
|
||||
|
||||
if (
|
||||
self.app_name == "rapids"
|
||||
@@ -353,8 +353,8 @@ class ExamViews(View, LoginRequiredMixin):
|
||||
if exam.open_access or user in exam.get_author_objects():
|
||||
return True
|
||||
|
||||
if exam.authors_only:
|
||||
return False
|
||||
if exam.authors_only:
|
||||
return False
|
||||
|
||||
if (
|
||||
self.app_name == "rapids"
|
||||
|
||||
Reference in New Issue
Block a user