salix/db/versions/10994-wheatLaurel/00-modifyAcls.sql

4 lines
278 B
MySQL
Raw Normal View History

2024-04-15 08:21:59 +00:00
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)
2024-04-15 09:03:57 +00:00
VALUES ('Worker', '__get__summary', 'READ', 'ALLOW', 'ROLE', 'employee');