From 3345ae1735b38ccf517227b958ac44c741158ebc Mon Sep 17 00:00:00 2001
From: Jorran de Wit <jorrandewit@outlook.com>
Date: Fri, 26 Oct 2018 09:50:26 +0100
Subject: [PATCH] Remove test user stuff

---
 submissions/views.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/submissions/views.py b/submissions/views.py
index 63e4cd540..ad850a1aa 100644
--- a/submissions/views.py
+++ b/submissions/views.py
@@ -50,7 +50,7 @@ from scipost.forms import RemarkForm
 from scipost.mixins import PaginationMixin
 from scipost.models import Contributor, Remark
 
-from notifications.views import is_test_user  # Temporarily until release
+# from notifications.views import is_test_user  # Temporarily until release
 
 
 ###############
@@ -127,8 +127,8 @@ class RequestSubmissionUsingSciPostView(RequestSubmissionView):
 
     def dispatch(self, request, *args, **kwargs):
         """TEMPORARY: Not accessible unless in test group."""
-        if not is_test_user(request.user):
-            raise Http404
+        # if not is_test_user(request.user):
+        #     raise Http404
         return super().dispatch(request, *args, **kwargs)
 
     def get_form_kwargs(self):
-- 
GitLab