refs #7529 back models acls #2563

Merged
carlossa merged 19 commits from 7529-workerPIT into dev 2024-11-20 12:21:31 +00:00
1 changed files with 12 additions and 3 deletions
Showing only changes of commit 2790e92741 - Show all commits

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)
carlossa marked this conversation as resolved
Review

Comentat?

Comentat?
VALUES
('WorkerRelative','*','*','ALLOW','ROLE','hr'),
('WorkerIrpf','*','*','ALLOW','ROLE','hr'),
('DisabilityGrade','*','*','ALLOW','ROLE','hr');
('WorkerRelative','updateAttributes','*','ALLOW','ROLE','hr'),
carlossa marked this conversation as resolved Outdated
Outdated
Review

Sense "*"? @jgallego

Sense "*"? @jgallego

igual que tenga worker

igual que tenga worker
('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');