diff --git a/generic/views.py b/generic/views.py index a5af799b..2f62378a 100644 --- a/generic/views.py +++ b/generic/views.py @@ -528,7 +528,7 @@ class ExamViews(View, LoginRequiredMixin): question = get_object_or_404(self.Question, pk=sk) exam = get_object_or_404(self.Exam, pk=pk) - if not exam.active: + if not exam.active and not self.check_user_access(request.user): raise Http404("No available exam") return redirect("{}:question_json_unbased".format(self.app_name), pk=sk)