231801_test_to_master #1519
|
@ -1,7 +1,14 @@
|
|||
INSERT INTO salix.`ACL` (model, property, accessType, permission, principalType, principalId)
|
||||
INSERT INTO `salix`.`ACL` (model, property, accessType, permission, principalType, principalId)
|
||||
VALUES
|
||||
('VnUser', '*', '*', 'ALLOW', 'ROLE', 'employee'),
|
||||
('VnUser','acl','READ','ALLOW','ROLE','account'),
|
||||
('VnUser','getCurrentUserData','READ','ALLOW','ROLE','account');
|
||||
('VnUser','getCurrentUserData','READ','ALLOW','ROLE','account'),
|
||||
('VnUser','changePassword', 'WRITE', 'ALLOW', 'ROLE', 'account');
|
||||
|
||||
DELETE FROM `salix`.`ACL` WHERE (model, property) = ('Account', 'acl');
|
||||
DELETE FROM `salix`.`ACL` WHERE (model, property) = ('Account', 'getCurrentUserData');
|
||||
|
||||
UPDATE `hedera`.`imageCollection` t
|
||||
SET t.model = 'VnUser'
|
||||
WHERE t.id = 6;
|
||||
|
||||
DELETE FROM salix.`ACL` WHERE (model, property) = ('Account', 'acl');
|
||||
DELETE FROM salix.`ACL` WHERE (model, property) = ('Account', 'getCurrentUserData');
|
||||
|
|
Loading…
Reference in New Issue