.
This commit is contained in:
+4
-3
@@ -140,7 +140,7 @@ def series_detail(request, pk, finding_pk=None):
|
|||||||
)
|
)
|
||||||
|
|
||||||
@login_required
|
@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):
|
def condition_detail(request, pk):
|
||||||
condition = get_object_or_404(Condition, pk=pk)
|
condition = get_object_or_404(Condition, pk=pk)
|
||||||
|
|
||||||
@@ -154,7 +154,7 @@ def condition_detail(request, pk):
|
|||||||
)
|
)
|
||||||
|
|
||||||
@login_required
|
@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):
|
def structure_detail(request, pk):
|
||||||
structure = get_object_or_404(Structure, pk=pk)
|
structure = get_object_or_404(Structure, pk=pk)
|
||||||
|
|
||||||
@@ -168,7 +168,7 @@ def structure_detail(request, pk):
|
|||||||
)
|
)
|
||||||
|
|
||||||
@login_required
|
@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):
|
def finding_detail(request, pk):
|
||||||
finding = get_object_or_404(Finding, pk=pk)
|
finding = get_object_or_404(Finding, pk=pk)
|
||||||
|
|
||||||
@@ -180,6 +180,7 @@ def finding_detail(request, pk):
|
|||||||
"finding": finding,
|
"finding": finding,
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
|
|
||||||
@login_required
|
@login_required
|
||||||
@user_is_author_or_atlas_checker
|
@user_is_author_or_atlas_checker
|
||||||
def author_detail(request, pk):
|
def author_detail(request, pk):
|
||||||
|
|||||||
Reference in New Issue
Block a user