14 lines
438 B
SQL
14 lines
438 B
SQL
UPDATE `salix`.`ACL`
|
|
SET accessType='READ'
|
|
WHERE model = 'ACL';
|
|
|
|
UPDATE `salix`.`ACL`
|
|
SET principalId='developerBoss'
|
|
WHERE model = 'AccessToken';
|
|
|
|
INSERT INTO `salix`.`ACL` (model, property, accessType, permission, principalType, principalId)
|
|
VALUES
|
|
('VnToken', '*', 'READ', 'ALLOW', 'ROLE', 'developer'),
|
|
('VnToken', 'killSession', '*', 'ALLOW', 'ROLE', 'developer'),
|
|
('ACL', '*', 'WRITE', 'ALLOW', 'ROLE', 'developerBoss');
|