2023-05-10 11:44:51 +00:00
|
|
|
DELETE
|
|
|
|
FROM `salix`.`ACL`
|
|
|
|
WHERE model = 'VnUser' AND property = '*' AND principalId = 'employee';
|
|
|
|
|
|
|
|
INSERT INTO `salix`.`ACL` (model, property, accessType, permission, principalType, principalId)
|
|
|
|
VALUES
|
2023-05-11 13:25:37 +00:00
|
|
|
('VnUser', '*', '*', 'ALLOW', 'ROLE', 'itManagement'),
|
2023-05-10 11:44:51 +00:00
|
|
|
('VnUser', '__get__preview', 'READ', 'ALLOW', 'ROLE', 'employee'),
|
2023-05-30 07:13:47 +00:00
|
|
|
('VnUser', 'preview', '*', 'ALLOW', 'ROLE', 'employee');
|