salix/db/changes/10004-mother/00-acl.sql

11 lines
665 B
MySQL
Raw Normal View History

2019-05-22 09:59:07 +00:00
UPDATE `salix`.`ACL` SET principalId ='employee' WHERE id = 122;
2019-05-17 11:27:51 +00:00
INSERT INTO `salix`.`ACL` (`id`, `model`, `property`, `accessType`, `permission`, `principalType`, `principalId`)
2019-05-22 09:59:07 +00:00
VALUES
(167, 'Worker', 'isSubordinate', 'READ', 'ALLOW', 'ROLE', 'employee'),
(168, 'Worker', 'mySubordinates', 'READ', 'ALLOW', 'ROLE', 'employee'),
(169, 'WorkerTimeControl', 'filter', 'READ', 'ALLOW', 'ROLE', 'employee'),
(170, 'WorkerTimeControl', 'addTime', 'WRITE', 'ALLOW', 'ROLE', 'employee'),
(171, 'TicketServiceType', '*', 'WRITE', 'ALLOW', 'ROLE', 'administrative');
2019-05-17 11:27:51 +00:00