2023-05-10 11:44:51 +00:00
|
|
|
DELETE
|
|
|
|
FROM `salix`.`ACL`
|
|
|
|
WHERE model='Account' AND property='*' AND accessType='*';
|
|
|
|
|
|
|
|
INSERT INTO `salix`.`ACL` (model, property, accessType, permission, principalType, principalId)
|
|
|
|
VALUES
|
|
|
|
('Account', '*', 'WRITE', 'ALLOW', 'ROLE', 'sysadmin'),
|
2023-05-30 08:00:05 +00:00
|
|
|
('Account', '*', 'READ', 'ALLOW', 'ROLE', 'employee');
|