From caaf6bc8b7aa1ffaa05f0e1d4883d21e9391b12b Mon Sep 17 00:00:00 2001
From: "J.-S. Caux" <J.S.Caux@uva.nl>
Date: Mon, 22 May 2017 10:33:09 +0200
Subject: [PATCH] Correct critical bug in visibility of submissions

---
 submissions/constants.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/submissions/constants.py b/submissions/constants.py
index 845ecbb2e..84638110f 100644
--- a/submissions/constants.py
+++ b/submissions/constants.py
@@ -62,6 +62,7 @@ SUBMISSION_STATUS_PUBLICLY_INVISIBLE = [
     STATUS_RESUBMISSION_INCOMING,
     'assignment_failed',
     'resubmitted_rejected',
+    STATUS_RESUBMITTED_REJECTED,
     'rejected',
     'withdrawn',
 ]
@@ -70,6 +71,7 @@ SUBMISSION_STATUS_PUBLICLY_INVISIBLE = [
 SUBMISSION_STATUS_PUBLICLY_UNLISTED = SUBMISSION_STATUS_PUBLICLY_INVISIBLE + [
     'resubmitted',
     'resubmitted_rejected_visible',
+    STATUS_RESUBMITTED_REJECTED_VISIBLE,
     'published'
 ]
 
-- 
GitLab