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'),
|
2023-05-30 07:13:47 +00:00
|
|
|
('Role', '*', 'WRITE', 'ALLOW', 'ROLE', 'it');
|