From 81dc5e04cd5c71c1fc0f8cd1d4be73620da8e8f0 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Wed, 11 Sep 2019 12:19:19 +0200 Subject: Lock: do not allow lock/unlock of items locked by another user --- ishtar_common/urls.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ishtar_common/urls.py') diff --git a/ishtar_common/urls.py b/ishtar_common/urls.py index 13694b10f..b8ccb5172 100644 --- a/ishtar_common/urls.py +++ b/ishtar_common/urls.py @@ -292,8 +292,8 @@ urlpatterns += [ views.QADocumentForm.as_view()), name='document-qa-bulk-update-confirm', kwargs={"confirm": True}), - url(r'^qa-not-available/$', views.QANotAvailable.as_view(), - name='qa-not-available'), + url(r'^qa-not-available(?:/(?P[0-9a-z-]+))?/$', + views.QANotAvailable.as_view(), name='qa-not-available'), ] urlpatterns += get_urls_for_model(models.Document, views) -- cgit v1.2.3