salix/db/versions/11103-limeBirch/00-firstScript.sql

10 lines
490 B
SQL

-- 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');