diff options
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 |
commit | 93b83586f6b291ac4c4b2ac30ceb96aede1cf650 (patch) | |
tree | 07fff53366a29d6f9ab5451662726989f7229302 /archaeological_operations/models.py | |
parent | d23a2220a525bfce8910dc272a67ed085f8bca35 (diff) | |
download | Ishtar-93b83586f6b291ac4c4b2ac30ceb96aede1cf650.tar.bz2 Ishtar-93b83586f6b291ac4c4b2ac30ceb96aede1cf650.zip |
Fix operation action lock
Diffstat (limited to 'archaeological_operations/models.py')
-rw-r--r-- | archaeological_operations/models.py | 4 |
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 |