2023-07-12 13:07:06 +00:00
|
|
|
DELETE FROM `salix`.`ACL` WHERE model = 'MailAliasAccount';
|
|
|
|
|
2023-07-11 10:33:34 +00:00
|
|
|
INSERT INTO `salix`.`ACL` (model, property, accessType, permission, principalType, principalId)
|
|
|
|
VALUES
|
2023-07-12 13:07:06 +00:00
|
|
|
('MailAliasAccount', '*', 'READ', 'ALLOW', 'ROLE', 'employee'),
|
|
|
|
('MailAliasAccount', 'create', 'WRITE', 'ALLOW', 'ROLE', 'employee'),
|
|
|
|
('MailAliasAccount', 'deleteById', 'WRITE', 'ALLOW', 'ROLE', 'employee'),
|
2023-07-12 11:55:57 +00:00
|
|
|
('MailAliasAccount', 'canEditAlias', 'WRITE', 'ALLOW', 'ROLE', 'itManagement');
|