update ACL
This commit is contained in:
parent
73104c4465
commit
7566da8421
|
@ -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');
|
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 `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');
|
Loading…
Reference in New Issue