From 93b83586f6b291ac4c4b2ac30ceb96aede1cf650 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Fri, 3 Jan 2020 12:25:43 +0100 Subject: Fix operation action lock --- archaeological_operations/models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'archaeological_operations/models.py') 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 -- cgit v1.2.3