fix: refs #7529 fix acl
This commit is contained in:
parent
fa108e2af0
commit
2790e92741
|
@ -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');
|
||||
|
||||
|
|
Loading…
Reference in New Issue