diff --git a/atlas/models.py b/atlas/models.py
index 1119ef3a..99b9b8bd 100644
--- a/atlas/models.py
+++ b/atlas/models.py
@@ -533,6 +533,15 @@ class Case(models.Model, AuthorMixin, QuestionMixin):
return size
+ def check_user_can_edit(self, user):
+ if user.is_superuser:
+ return True
+
+ if self.author.filter(id=user.id).exists():
+ return True
+
+ return False
+
diff --git a/atlas/templates/atlas/case_display_block.html b/atlas/templates/atlas/case_display_block.html
index da0c9950..0077c8c8 100755
--- a/atlas/templates/atlas/case_display_block.html
+++ b/atlas/templates/atlas/case_display_block.html
@@ -248,14 +248,29 @@
Diagnostic certainty: {{case.get_diagnostic_certainty_display}}
Collections:
+
+ {% if can_edit %}
+ {% endif %}