2024-10-18 12:06:39 +00:00
|
|
|
ALTER TABLE vn.workerRelatives DROP FOREIGN KEY workerRelatives_disabilityGradeFk;
|
|
|
|
ALTER TABLE vn.workerRelatives DROP FOREIGN KEY workerRelatives_workerFk;
|
|
|
|
|
|
|
|
INSERT INTO salix.ACL (model,property,accessType,permission,principalType,principalId)
|
|
|
|
VALUES
|
2024-11-18 12:57:40 +00:00
|
|
|
('WorkerRelative','updateAttributes','*','ALLOW','ROLE','hr'),
|
2024-11-20 12:10:43 +00:00
|
|
|
('WorkerRelative','crud','WRITE','ALLOW','ROLE','hr'),
|
|
|
|
('WorkerRelative','findById','*','ALLOW','ROLE','hr'),
|
2024-11-20 13:16:26 +00:00
|
|
|
('WorkerRelative','find','*','ALLOW','ROLE','hr'),
|
|
|
|
('WorkerRelative','upsert','*','ALLOW','ROLE','hr'),
|
|
|
|
('WorkerRelative','filter','*','ALLOW','ROLE','hr'),
|
2024-11-18 12:57:40 +00:00
|
|
|
('WorkerIrpf','updateAttributes','*','ALLOW','ROLE','hr'),
|
2024-11-20 12:10:43 +00:00
|
|
|
('WorkerIrpf','crud','*','ALLOW','ROLE','hr'),
|
2024-11-20 13:16:26 +00:00
|
|
|
('WorkerIrpf','findById','*','ALLOW','ROLE','hr'),
|
|
|
|
('WorkerIrpf','find','*','ALLOW','ROLE','hr'),
|
|
|
|
('WorkerIrpf','upsert','*','ALLOW','ROLE','hr'),
|
|
|
|
('WorkerIrpf','filter','*','ALLOW','ROLE','hr'),
|
2024-11-18 12:57:40 +00:00
|
|
|
('DisabilityGrade','updateAttributes','*','ALLOW','ROLE','hr'),
|
2024-11-20 12:10:43 +00:00
|
|
|
('DisabilityGrade','crud','*','ALLOW','ROLE','hr'),
|
2024-11-20 13:16:26 +00:00
|
|
|
('DisabilityGrade','findById','*','ALLOW','ROLE','hr'),
|
|
|
|
('DisabilityGrade','find','*','ALLOW','ROLE','hr'),
|
|
|
|
('DisabilityGrade','upsert','*','ALLOW','ROLE','hr');
|
2024-10-18 12:06:39 +00:00
|
|
|
|