diff --git a/services/db/install/changes/1.1.0/03-acl.sql b/services/db/install/changes/1.1.0/03-acl.sql new file mode 100644 index 000000000..ca763b5f3 --- /dev/null +++ b/services/db/install/changes/1.1.0/03-acl.sql @@ -0,0 +1,7 @@ +UPDATE `salix`.`ACL` SET `model`='ClaimEnd' WHERE `id`='96'; +UPDATE `salix`.`ACL` SET `model`='ClaimEnd' WHERE `id`='97'; +UPDATE `salix`.`ACL` SET `model`='ClaimBeginning', `accessType`='*' WHERE `id`='98'; +UPDATE `salix`.`ACL` SET `model`='ClaimDevelopment' WHERE `id`='99'; +UPDATE `salix`.`ACL` SET `model`='ClaimDevelopment' WHERE `id`='100'; +INSERT INTO `salix`.`ACL` (`id`, `model`, `property`, `accessType`, `permission`, `principalType`, `principalId`) VALUES (101, 'Claim', '*', '*', 'ALLOW', 'ROLE', 'employee'); +INSERT INTO `salix`.`ACL` (`id`, `model`, `property`, `accessType`, `permission`, `principalType`, `principalId`) VALUES (102, 'Claim', 'createFromSales', '*', 'ALLOW', 'ROLE', 'employee'); \ No newline at end of file