12 lines
595 B
SQL
12 lines
595 B
SQL
DELETE FROM salix.ACL
|
|
WHERE model in ('expeditionTruck', 'Roadmap', 'roadmapStop', 'roadmapAddress');
|
|
|
|
INSERT INTO salix.ACL (model, property, accessType, permission, principalType, principalId)
|
|
VALUES
|
|
('roadmapAddress', '*', 'WRITE', 'ALLOW', 'ROLE', 'palletizerBoss'),
|
|
('roadmapAddress', '*', 'READ', 'ALLOW', 'ROLE', 'production'),
|
|
('Roadmap', '*', 'WRITE', 'ALLOW', 'ROLE', 'palletizerBoss'),
|
|
('Roadmap', '*', 'READ', 'ALLOW', 'ROLE', 'production'),
|
|
('RoadmapStop', '*', 'WRITE', 'ALLOW', 'ROLE', 'palletizerBoss'),
|
|
('RoadmapStop', '*', 'READ', 'ALLOW', 'ROLE', 'production');
|