Compare commits

...

2 Commits

Author SHA1 Message Date
Carlos Satorres 6b0d7762b4 Merge branch '7529-workerPIT' of https://gitea.verdnatura.es/verdnatura/salix into 7529-workerPIT
gitea/salix/pipeline/pr-dev There was a failure building this commit Details
2024-11-18 13:57:42 +01:00
Carlos Satorres 2790e92741 fix: refs #7529 fix acl 2024-11-18 13:57:40 +01:00
1 changed files with 12 additions and 3 deletions

View File

@ -3,7 +3,16 @@ ALTER TABLE vn.workerRelatives DROP FOREIGN KEY workerRelatives_workerFk;
INSERT INTO salix.ACL (model,property,accessType,permission,principalType,principalId)
VALUES
('WorkerRelative','*','*','ALLOW','ROLE','hr'),
('WorkerIrpf','*','*','ALLOW','ROLE','hr'),
('DisabilityGrade','*','*','ALLOW','ROLE','hr');
('WorkerRelative','updateAttributes','*','ALLOW','ROLE','hr'),
('WorkerRelative','forceIsSubordinate','*','ALLOW','ROLE','hr'),
('WorkerRelative','new','*','ALLOW','ROLE','hr'),
('WorkerRelative','updloadFile','*','ALLOW','ROLE','hr'),
('WorkerIrpf','updateAttributes','*','ALLOW','ROLE','hr'),
('WorkerIrpf','forceIsSubordinate','*','ALLOW','ROLE','hr'),
('WorkerIrpf','new','*','ALLOW','ROLE','hr'),
('WorkerIrpf','updloadFile','*','ALLOW','ROLE','hr'),
('DisabilityGrade','updateAttributes','*','ALLOW','ROLE','hr'),
('DisabilityGrade','forceIsSubordinate','*','ALLOW','ROLE','hr'),
('DisabilityGrade','updloadFile','*','ALLOW','ROLE','hr'),
('DisabilityGrade','new','*','ALLOW','ROLE','hr');