From c174d0a29efacac43d3008c125006ea47d8d0bb8 Mon Sep 17 00:00:00 2001 From: Joan Sanchez Date: Wed, 29 Jan 2020 14:50:53 +0100 Subject: [PATCH] acl fix --- db/changes/10141-kings/00-ACL.sql | 2 +- db/dump/fixtures.sql | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/db/changes/10141-kings/00-ACL.sql b/db/changes/10141-kings/00-ACL.sql index c147dd18f..9a43990d0 100644 --- a/db/changes/10141-kings/00-ACL.sql +++ b/db/changes/10141-kings/00-ACL.sql @@ -1 +1 @@ -REPLACE INTO INTO `salix`.`ACL` (`model`, `property`, `accessType`, `permission`, `principalType`, `principalId`) VALUES ('CustomsAgent', '*', '*', 'ALLOW', 'ROLE', 'employee'); +REPLACE INTO `salix`.`ACL` (`model`, `property`, `accessType`, `permission`, `principalType`, `principalId`) VALUES ('CustomsAgent', '*', '*', 'ALLOW', 'ROLE', 'employee'); diff --git a/db/dump/fixtures.sql b/db/dump/fixtures.sql index 0df72abab..7b7651a9d 100644 --- a/db/dump/fixtures.sql +++ b/db/dump/fixtures.sql @@ -1963,11 +1963,11 @@ INSERT INTO `vn`.`travelThermograph`(`thermographFk`, `created`, `warehouseFk`, ('138350-0', DATE_ADD(CURDATE(), INTERVAL -1 MONTH), 1, 1, 'WARM', NULL, 5), ('138350-0', CURDATE(), 1, NULL, 'COOL', NULL, NULL); -INSERT INTO `vn`.`incoterms` (`code`, `name`) +REPLACE INTO `vn`.`incoterms` (`code`, `name`) VALUES ('FAS', 'Free Alongside Ship'); -INSERT INTO `vn`.`customsAgent` (`id`, `fiscalName`, `street`, `nif`, `phone`, `email`) +REPLACE INTO `vn`.`customsAgent` (`id`, `fiscalName`, `street`, `nif`, `phone`, `email`) VALUES (1, 'Agent one', '1007 Mountain Drive, Gotham', 'N1111111111', '111111111', 'agentone@gotham.com'), (2, 'Agent two', '1007 Mountain Drive, Gotham', 'N2222222222', '222222222', 'agenttwo@gotham.com'); \ No newline at end of file