fix: refs #7529 fix acl
gitea/salix/pipeline/pr-dev There was a failure building this commit
Details
gitea/salix/pipeline/pr-dev There was a failure building this commit
Details
This commit is contained in:
parent
6b0d7762b4
commit
df249b05d3
|
@ -4,15 +4,12 @@ ALTER TABLE vn.workerRelatives DROP FOREIGN KEY workerRelatives_workerFk;
|
|||
INSERT INTO salix.ACL (model,property,accessType,permission,principalType,principalId)
|
||||
VALUES
|
||||
('WorkerRelative','updateAttributes','*','ALLOW','ROLE','hr'),
|
||||
('WorkerRelative','forceIsSubordinate','*','ALLOW','ROLE','hr'),
|
||||
('WorkerRelative','new','*','ALLOW','ROLE','hr'),
|
||||
('WorkerRelative','updloadFile','*','ALLOW','ROLE','hr'),
|
||||
('WorkerRelative','crud','WRITE','ALLOW','ROLE','hr'),
|
||||
('WorkerRelative','findById','*','ALLOW','ROLE','hr'),
|
||||
('WorkerIrpf','updateAttributes','*','ALLOW','ROLE','hr'),
|
||||
('WorkerIrpf','forceIsSubordinate','*','ALLOW','ROLE','hr'),
|
||||
('WorkerIrpf','new','*','ALLOW','ROLE','hr'),
|
||||
('WorkerIrpf','updloadFile','*','ALLOW','ROLE','hr'),
|
||||
('WorkerIrpf','crud','*','ALLOW','ROLE','hr'),
|
||||
('WorkerRelative','findById','*','ALLOW','ROLE','hr'),
|
||||
('DisabilityGrade','updateAttributes','*','ALLOW','ROLE','hr'),
|
||||
('DisabilityGrade','forceIsSubordinate','*','ALLOW','ROLE','hr'),
|
||||
('DisabilityGrade','updloadFile','*','ALLOW','ROLE','hr'),
|
||||
('DisabilityGrade','new','*','ALLOW','ROLE','hr');
|
||||
('DisabilityGrade','crud','*','ALLOW','ROLE','hr'),
|
||||
('DisabilityGrade','findById','*','ALLOW','ROLE','hr');
|
||||
|
||||
|
|
Loading…
Reference in New Issue