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

This commit is contained in:
Carlos Satorres 2024-06-18 09:18:09 +02:00
parent 3e25fff90f
commit 52a34c8f2d
1 changed files with 5 additions and 8 deletions

View File

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