This commit is contained in:
Ross
2021-12-05 15:52:32 +00:00
parent bd5b9f436a
commit 3b7446b202
+4 -3
View File
@@ -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):