|
UPDATE `salix`.`ACL`
|
|
SET `property`='refund'
|
|
WHERE `model`='Sale' AND `property`='payBack';
|
|
|
|
INSERT INTO `salix`.`ACL`(`model`, `property`, `accessType`, `permission`, `principalType`, `principalId`)
|
|
VALUES('Sale', 'refundAll', 'WRITE', 'ALLOW', 'ROLE', 'employee');
|