From 3b7446b20253f84deba1df0ffc3a212b169469f8 Mon Sep 17 00:00:00 2001 From: Ross Date: Sun, 5 Dec 2021 15:52:32 +0000 Subject: [PATCH] . --- atlas/views.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/atlas/views.py b/atlas/views.py index 600acef7..1b29e878 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_author_or_atlas_series_checker_or_atlas_marker 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_author_or_atlas_series_checker_or_atlas_marker 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_author_or_atlas_series_checker_or_atlas_marker def finding_detail(request, pk): finding = get_object_or_404(Finding, pk=pk) @@ -180,6 +180,7 @@ def finding_detail(request, pk): "finding": finding, }, ) + @login_required @user_is_author_or_atlas_checker def author_detail(request, pk):