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-18 12:57:40 +00:00
|
|
|
('WorkerIrpf','updateAttributes','*','ALLOW','ROLE','hr'),
|
2024-11-20 12:10:43 +00:00
|
|
|
('WorkerIrpf','crud','*','ALLOW','ROLE','hr'),
|
|
|
|
('WorkerRelative','findById','*','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'),
|
|
|
|
('DisabilityGrade','findById','*','ALLOW','ROLE','hr');
|
2024-10-18 12:06:39 +00:00
|
|
|
|