refs #7409 acl
gitea/salix/pipeline/pr-dev This commit looks good Details

This commit is contained in:
Carlos Satorres 2024-06-17 15:50:58 +02:00
parent e8c7b55329
commit 3e25fff90f
1 changed files with 6 additions and 5 deletions

View File

@ -1,8 +1,9 @@
-- Place your SQL code here -- Place your SQL code here
INSERT INTO salix.ACL INSERT INTO salix.ACL
(id, model, property, accessType, permission, principalType, principalId) (model, property, accessType, permission, principalType, principalId)
VALUES(872, 'WorkerIncome', '*', '*', 'ALLOW', 'ROLE', 'hr'); VALUES('WorkerIncome', '*', '*', 'ALLOW', 'ROLE', 'hr');
INSERT INTO salix.ACL INSERT INTO salix.ACL
(id, model, property, accessType, permission, principalType, principalId) (model, property, accessType, permission, principalType, principalId)
VALUES(873, 'PayrollComponent', '*', '*', 'ALLOW', 'ROLE', 'hr'); VALUES('PayrollComponent', '*', '*', 'ALLOW', 'ROLE', 'hr');
INSERT INTO salix.ACL (model,property,accessType,permission,principalType,principalId)
VALUES ('WorkerIncome','__get__workerIncomes','*','ALLOW','ROLE','hr');