summaryrefslogtreecommitdiff
path: root/archaeological_finds/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'archaeological_finds/views.py')
-rw-r--r--archaeological_finds/views.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/archaeological_finds/views.py b/archaeological_finds/views.py
index e930c0830..7855b5099 100644
--- a/archaeological_finds/views.py
+++ b/archaeological_finds/views.py
@@ -336,8 +336,8 @@ class FindBasketDeleteItemView(IshtarMixin, LoginRequiredMixin, TemplateView):
except models.FindBasket.DoesNotExist:
raise PermissionDenied
if not user.is_superuser and \
- not ishtaruser.has_right('change_find') and \
- not (ishtaruser.has_right('change_own_find')
+ not ishtaruser.has_right('view_find') and \
+ not (ishtaruser.has_right('view_own_find')
and find.is_own(user)):
raise PermissionDenied
basket.items.remove(find)