11 lines
717 B
SQL
11 lines
717 B
SQL
DELETE FROM `salix`.`ACL` WHERE model = 'Account' AND property = '*' AND principalId = 'employee';
|
|
|
|
INSERT INTO `salix`.`ACL` (model,property,accessType,permission,principalType,principalId)
|
|
VALUES ('Account','findOne','READ','ALLOW','ROLE','employee');
|
|
INSERT INTO `salix`.`ACL` (model,property,accessType,permission,principalType,principalId)
|
|
VALUES ('Account','findById','READ','ALLOW','ROLE','employee');
|
|
INSERT INTO `salix`.`ACL` (model,property,accessType,permission,principalType,principalId)
|
|
VALUES ('Account','find','READ','ALLOW','ROLE','employee');
|
|
INSERT INTO `salix`.`ACL` (model,property,accessType,permission,principalType,principalId)
|
|
VALUES ('Account','exists','READ','ALLOW','ROLE','employee');
|