From b49b4ce5a8da7a2baeced42060be12a64b7d0f40 Mon Sep 17 00:00:00 2001 From: Bernat Date: Thu, 17 May 2018 09:10:56 +0200 Subject: [PATCH] update ACL --- services/db/install/changes/1.0.5/12-ACL.sql | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 services/db/install/changes/1.0.5/12-ACL.sql diff --git a/services/db/install/changes/1.0.5/12-ACL.sql b/services/db/install/changes/1.0.5/12-ACL.sql new file mode 100644 index 000000000..f3885c01f --- /dev/null +++ b/services/db/install/changes/1.0.5/12-ACL.sql @@ -0,0 +1,5 @@ +UPDATE `salix`.`ACL` SET `accessType`='READ' WHERE `id`='20'; +UPDATE `salix`.`ACL` SET `principalId`='production' WHERE `id`='67'; +INSERT INTO `salix`.`ACL` (`id`, `model`, `property`, `accessType`, `permission`, `principalType`, `principalId`) VALUES ('78', 'TicketTracking', '*', 'WRITE', 'ALLOW', 'ROLE', 'production'); +INSERT INTO `salix`.`ACL` (`id`, `model`, `property`, `permission`, `principalType`, `principalId`) VALUES ('79', 'TicketTracking', 'changeState', 'ALLOW', 'ROLE', 'employe'); +