salix/db/changes/235001/00-updateACL_Role_VnRole.sql

7 lines
239 B
MySQL
Raw Permalink Normal View History

INSERT INTO salix.ACL (model,property,accessType,permission,principalType,principalId) VALUES
('VnRole','*','READ','ALLOW','ROLE','employee'),
('VnRole','*','WRITE','ALLOW','ROLE','it');
DELETE FROM`salix`.`ACL` WHERE model='Role';