feat: refs #6724 permissions to vn.entry.isBooked #2147

Merged
guillermo merged 9 commits from 6724-permisos-vn.entry.isBooked into dev 2024-04-18 11:06:48 +00:00
2 changed files with 11 additions and 1 deletions

View File

@ -0,0 +1,8 @@
REVOKE UPDATE ON vn.entry FROM entryEditor;
GRANT UPDATE ON vn.entry TO administrative;
GRANT UPDATE (id, supplierFk, dated, invoiceNumber, isExcludedFromAvailable,
isConfirmed, isOrdered, isRaid,commission, created, evaNotes, travelFk,
currencyFk,companyFk, gestDocFk, invoiceInFk, loadPriority,
kop, sub, pro, auction, invoiceAmount, buyerFk, typeFk, reference,
observationEditorFk, clonedFrom, editorFk, lockerUserFk, locked
) ON vn.entry TO entryEditor;

View File

@ -123,7 +123,9 @@
</vn-check>
<vn-check
label="Booked"
ng-model="$ctrl.entry.isBooked">
ng-model="$ctrl.entry.isBooked"
vn-acl="administrative"
>
</vn-check>
</vn-horizontal>
</vn-card>