Other permissions changed

This commit is contained in:
Simon Pocrnjič
2025-10-31 12:26:58 +01:00
parent 07b1deda21
commit 0d9c8c8b30
7 changed files with 180 additions and 133 deletions
+3
View File
@@ -324,6 +324,7 @@ const submitAttachSegment = () => {
:segments="segments"
:templates="contract_doc_templates"
:edit="hasPerm('contract-edit')"
:create-doc="hasPerm('create-docs')"
@edit="openDrawerEditContract"
@delete="requestDeleteContract"
@add-activity="openDrawerAddActivity"
@@ -371,6 +372,7 @@ const submitAttachSegment = () => {
</div>
<DocumentsTable
:documents="documents"
:edit="hasPerm('doc-edit')"
@view="openViewer"
@edit="openDocEdit"
:download-url-builder="
@@ -408,6 +410,7 @@ const submitAttachSegment = () => {
:contracts="contracts"
@close="closeDocEdit"
@saved="onDocSaved"
v-if="hasPerm('doc-edit')"
/>
<DocumentViewerDialog
:show="viewer.open"