summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2020-01-03 12:25:43 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2020-01-03 12:25:43 +0100
commit93b83586f6b291ac4c4b2ac30ceb96aede1cf650 (patch)
tree07fff53366a29d6f9ab5451662726989f7229302
parentd23a2220a525bfce8910dc272a67ed085f8bca35 (diff)
downloadIshtar-93b83586f6b291ac4c4b2ac30ceb96aede1cf650.tar.bz2
Ishtar-93b83586f6b291ac4c4b2ac30ceb96aede1cf650.zip
Fix operation action lock
-rw-r--r--archaeological_operations/models.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/archaeological_operations/models.py b/archaeological_operations/models.py
index ef81acdc9..402f45485 100644
--- a/archaeological_operations/models.py
+++ b/archaeological_operations/models.py
@@ -278,9 +278,9 @@ class ArchaeologicalSite(DocumentItem, BaseHistorizedItem, QRCodeItem,
DOWN_MODEL_UPDATE = ["context_records"]
QA_LOCK = QuickAction(
- url="contextrecord-qa-lock", icon_class="fa fa-lock",
+ url="operation-qa-lock", icon_class="fa fa-lock",
text=_(u"Lock/Unlock"), target="many",
- rights=['change_contextrecord', 'change_own_contextrecord']
+ rights=['change_operation', 'change_own_operation']
)
QUICK_ACTIONS = [
QA_LOCK