summaryrefslogtreecommitdiff
path: root/archaeological_operations
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2026-06-11 11:46:56 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2026-06-11 11:46:56 +0200
commit5f1576adeccf4fb15eada13484515ac74422bd28 (patch)
tree470bfa9892a1637d5ecc79ed55e60cf89e8030fe /archaeological_operations
parentdb9e6046f95dc7add2280ceb19a7e585366e3125 (diff)
downloadIshtar-5f1576adeccf4fb15eada13484515ac74422bd28.tar.bz2
Ishtar-5f1576adeccf4fb15eada13484515ac74422bd28.zip
🐛 fix permissions: relation form - autocomplete biographical notes
Diffstat (limited to 'archaeological_operations')
-rw-r--r--archaeological_operations/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/archaeological_operations/views.py b/archaeological_operations/views.py
index f2117c747..fcdb573ab 100644
--- a/archaeological_operations/views.py
+++ b/archaeological_operations/views.py
@@ -502,7 +502,7 @@ def get_relation_modify(model, model_relation, formset_class, url_name,
if "_own_" in current_right:
if not request.user.has_perm(current_right, item):
raise PermissionDenied()
- elif current_right:
+ elif current_right and current_right != "administrator":
if not request.user.has_perm(current_right):
raise PermissionDenied()
relations = model_relation.objects.filter(left_record_id=pk).all()