|
DELETE FROM `salix`.`ACL` WHERE model = 'Role';
|
|
INSERT INTO `salix`.`ACL` (`model`, `property`, `accessType`, `permission`, `principalType`, `principalId`)
|
|
VALUES
|
|
('Role', '*', 'READ', 'ALLOW', 'ROLE', 'employee'),
|
|
('Role', '*', 'WRITE', 'ALLOW', 'ROLE', 'it');
|