update ACL

This commit is contained in:
Bernat 2018-05-21 13:05:03 +02:00
parent 73104c4465
commit 7566da8421
1 changed files with 5 additions and 1 deletions

View File

@ -8,3 +8,7 @@ INSERT INTO `salix`.`ACL` (`id`, `model`, `property`, `accessType`, `permission`
INSERT INTO `salix`.`ACL` (`id`, `model`, `property`, `accessType`, `permission`, `principalType`, `principalId`) VALUES ('81', 'Sale', 'moveToTicket', '*', 'ALLOW', 'ROLE', 'employee');
UPDATE `salix`.`ACL` SET `principalId`='employee' WHERE `id`='79';
UPDATE `salix`.`ACL` SET `accessType`='*' WHERE `id`='79';
INSERT INTO `salix`.`ACL` (`id`, `model`, `property`, `accessType`, `permission`, `principalType`, `principalId`) VALUES ('82', 'Sale', 'updateQuantity', '*', 'ALLOW', 'ROLE', 'employee');
INSERT INTO `salix`.`ACL` (`id`, `model`, `property`, `accessType`, `permission`, `principalType`, `principalId`) VALUES ('83', 'Sale', 'updatePrice', '*', 'ALLOW', 'ROLE', 'employee');
INSERT INTO `salix`.`ACL` (`id`, `model`, `property`, `accessType`, `permission`, `principalType`, `principalId`) VALUES ('84', 'Sale', 'updateDiscount', '*', 'ALLOW', 'ROLE', 'employee');