From 25b461f3e3567e6c086c6690b7a130296f9fac16 Mon Sep 17 00:00:00 2001 From: Ross Date: Sun, 5 Dec 2021 15:53:37 +0000 Subject: [PATCH] . --- atlas/views.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/atlas/views.py b/atlas/views.py index 1b29e878..886ef9fe 100755 --- a/atlas/views.py +++ b/atlas/views.py @@ -140,7 +140,7 @@ def series_detail(request, pk, finding_pk=None): ) @login_required -#@user_is_author_or_atlas_series_checker_or_atlas_marker +@user_is_atlas_checker def condition_detail(request, pk): condition = get_object_or_404(Condition, pk=pk) @@ -154,7 +154,7 @@ def condition_detail(request, pk): ) @login_required -#@user_is_author_or_atlas_series_checker_or_atlas_marker +@user_is_atlas_checker def structure_detail(request, pk): structure = get_object_or_404(Structure, pk=pk) @@ -168,7 +168,7 @@ def structure_detail(request, pk): ) @login_required -#@user_is_author_or_atlas_series_checker_or_atlas_marker +@user_is_atlas_checker def finding_detail(request, pk): finding = get_object_or_404(Finding, pk=pk)