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

@ -7,4 +7,8 @@ UPDATE `salix`.`ACL` SET `accessType`='READ' WHERE `id`='65';
INSERT INTO `salix`.`ACL` (`id`, `model`, `property`, `accessType`, `permission`, `principalType`, `principalId`) VALUES ('80', 'Sale', 'removes', '*', 'ALLOW', 'ROLE', 'employee');
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';
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');