2023-04-17 12:15:39 +00:00
|
|
|
INSERT INTO `salix`.`ACL` (model, property, accessType, permission, principalType, principalId)
|
2023-04-15 12:24:50 +00:00
|
|
|
VALUES
|
2023-04-17 12:15:39 +00:00
|
|
|
('VnUser', '*', '*', 'ALLOW', 'ROLE', 'employee'),
|
2023-04-15 12:24:50 +00:00
|
|
|
('VnUser','acl','READ','ALLOW','ROLE','account'),
|
2023-04-17 12:15:39 +00:00
|
|
|
('VnUser','getCurrentUserData','READ','ALLOW','ROLE','account'),
|
2023-04-18 09:33:36 +00:00
|
|
|
('VnUser','changePassword', 'WRITE', 'ALLOW', 'ROLE', 'account'),
|
|
|
|
('Account','exists','READ','ALLOW','ROLE','account');
|
|
|
|
|
|
|
|
INSERT INTO `salix`.`ACL` (model, property, accessType, permission, principalType, principalId)
|
|
|
|
VALUES
|
|
|
|
('Account','exists','READ','ALLOW','ROLE','account');
|
2023-04-17 12:15:39 +00:00
|
|
|
|
|
|
|
DELETE FROM `salix`.`ACL` WHERE (model, property) = ('Account', 'acl');
|
|
|
|
DELETE FROM `salix`.`ACL` WHERE (model, property) = ('Account', 'getCurrentUserData');
|
2023-04-18 09:33:36 +00:00
|
|
|
DELETE FROM `salix`.`ACL` WHERE (model, property) = ('Account', 'changePassword');
|
|
|
|
DELETE FROM `salix`.`ACL` WHERE model = 'UserAccount';
|
2023-04-17 12:15:39 +00:00
|
|
|
|
|
|
|
UPDATE `hedera`.`imageCollection` t
|
|
|
|
SET t.model = 'VnUser'
|
|
|
|
WHERE t.id = 6;
|
2023-04-15 12:24:50 +00:00
|
|
|
|