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-23 10:21:35 +00:00
|
|
|
('Account', '*', 'READ', 'ALLOW', 'ROLE', 'employee'),
|
|
|
|
('Account', 'changeMailForwarding', 'WRITE', 'ALLOW', 'ROLE', 'employee');
|