salix/db/changes/10451-april/00-aclSaleRefund.sql

7 lines
268 B
MySQL
Raw Normal View History

UPDATE `salix`.`ACL`
SET `property`='refund'
2022-04-11 08:01:00 +00:00
WHERE `model`='Sale' AND `property`='payBack';
INSERT INTO `salix`.`ACL`(`model`, `property`, `accessType`, `permission`, `principalType`, `principalId`)
VALUES('Sale', 'refundAll', 'WRITE', 'ALLOW', 'ROLE', 'employee');