Merge pull request 'feat: refs #6724 permissions to vn.entry.isBooked' (!2147) from 6724-permisos-vn.entry.isBooked into dev
gitea/salix/pipeline/head This commit looks good Details

Reviewed-on: #2147
Reviewed-by: Javi Gallego <jgallego@verdnatura.es>
This commit is contained in:
Guillermo Bonet 2024-04-18 11:06:47 +00:00
commit 2b11f85b67
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>