4 lines
274 B
MySQL
4 lines
274 B
MySQL
|
UPDATE salix.ACL SET principalId = "hr" WHERE property IN ('find','findById','findOne') AND model = "Worker";
|
||
|
|
||
|
INSERT INTO salix.ACL (model, property, accessType, permission, principalType, principalId)
|
||
|
VALUES ('Worker', 'summary', 'READ', 'ALLOW', 'ROLE', 'employee');
|