Skip to content

Commit c432618

Browse files
committed
Fixes #278
1 parent 9ab3120 commit c432618

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dojo/product/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ def delete_product(request, pid):
412412
Status: in production
413413
"""
414414

415-
415+
@user_passes_test(lambda u: u.is_staff)
416416
def all_product_findings(request, pid):
417417
p = get_object_or_404(Product, id=pid)
418418
result = ProductFindingFilter(

0 commit comments

Comments
 (0)