14 lines
438 B
MySQL
14 lines
438 B
MySQL
|
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');
|