From 74312a3cdfc537542346f1131176ed2944693bad Mon Sep 17 00:00:00 2001 From: alexandre Date: Fri, 24 Mar 2023 07:30:35 +0100 Subject: [PATCH] refs #5056 changed acl --- db/changes/231201/00-wagon.sql | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/db/changes/231201/00-wagon.sql b/db/changes/231201/00-wagon.sql index 2924fdc99..3e4d225d7 100644 --- a/db/changes/231201/00-wagon.sql +++ b/db/changes/231201/00-wagon.sql @@ -60,13 +60,13 @@ ALTER TABLE `vn`.`wagon` ADD CONSTRAINT `wagon_type` FOREIGN KEY (`typeFk`) REFE INSERT INTO `salix`.`ACL` (`model`, `property`, `accessType`, `permission`, `principalType`, `principalId`) VALUES - ('WagonType', '*', '*', 'ALLOW', 'ROLE', 'employee'), - ('WagonTypeColor', '*', '*', 'ALLOW', 'ROLE', 'employee'), - ('WagonTypeTray', '*', '*', 'ALLOW', 'ROLE', 'employee'), - ('WagonConfig', '*', '*', 'ALLOW', 'ROLE', 'employee'), - ('CollectionWagon', '*', '*', 'ALLOW', 'ROLE', 'employee'), - ('CollectionWagonTicket', '*', '*', 'ALLOW', 'ROLE', 'employee'), - ('Wagon', '*', '*', 'ALLOW', 'ROLE', 'employee'), - ('WagonType', 'createWagonType', '*', 'ALLOW', 'ROLE', 'employee'), - ('WagonType', 'deleteWagonType', '*', 'ALLOW', 'ROLE', 'employee'), - ('WagonType', 'editWagonType', '*', 'ALLOW', 'ROLE', 'employee'); + ('WagonType', '*', '*', 'ALLOW', 'ROLE', 'productionAssi'), + ('WagonTypeColor', '*', '*', 'ALLOW', 'ROLE', 'productionAssi'), + ('WagonTypeTray', '*', '*', 'ALLOW', 'ROLE', 'productionAssi'), + ('WagonConfig', '*', '*', 'ALLOW', 'ROLE', 'productionAssi'), + ('CollectionWagon', '*', '*', 'ALLOW', 'ROLE', 'productionAssi'), + ('CollectionWagonTicket', '*', '*', 'ALLOW', 'ROLE', 'productionAssi'), + ('Wagon', '*', '*', 'ALLOW', 'ROLE', 'productionAssi'), + ('WagonType', 'createWagonType', '*', 'ALLOW', 'ROLE', 'productionAssi'), + ('WagonType', 'deleteWagonType', '*', 'ALLOW', 'ROLE', 'productionAssi'), + ('WagonType', 'editWagonType', '*', 'ALLOW', 'ROLE', 'productionAssi');