salix/db/changes/232201/00-aclRole.sql

6 lines
282 B
MySQL
Raw Normal View History

2023-05-23 08:43:46 +00:00
DELETE FROM `salix`.`ACL` WHERE model = 'Role';
INSERT INTO `salix`.`ACL` (`model`, `property`, `accessType`, `permission`, `principalType`, `principalId`)
VALUES
2023-05-23 11:33:27 +00:00
('Role', '*', 'READ', 'ALLOW', 'ROLE', 'employee'),
('Role', '*', 'WRITE', 'ALLOW', 'ROLE', 'it');