refs #5056 changed acl
gitea/salix/pipeline/head There was a failure building this commit Details

This commit is contained in:
Alexandre Riera 2023-03-24 07:30:35 +01:00
parent 3fcfc3d640
commit 74312a3cdf
1 changed files with 10 additions and 10 deletions

View File

@ -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');