From ce71f7f286819ee1399fef5f1819f9cc812149a6 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Thu, 13 Mar 2025 13:30:02 +0100 Subject: ✨ sheets: refactor document listing - add edit and unlink actions (refs #6221) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ishtar_common/urls.py | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'ishtar_common/urls.py') diff --git a/ishtar_common/urls.py b/ishtar_common/urls.py index aa1f1948e..d2c954e58 100644 --- a/ishtar_common/urls.py +++ b/ishtar_common/urls.py @@ -686,6 +686,13 @@ urlpatterns += [ )(views.QADocumentDuplicateFormView.as_view()), name="document-qa-duplicate", ), + path( + "document-qa-unlink//-/", + check_permissions( + ["ishtar_common.change_document", "ishtar_common.change_own_document"] + )(views.QADocumentUnlink.as_view()), + name="document-qa-unlink", + ), url( r"^document-qa-packaging/(?P[0-9-]+)?/$", check_permissions( -- cgit v1.2.3