2023-02-27 07:39:46 +00:00
|
|
|
ALTER TABLE `vn`.`worker` ADD locker INT UNSIGNED NULL UNIQUE;
|
2023-02-28 06:49:34 +00:00
|
|
|
INSERT INTO `salix`.`ACL` (`model`, `property`, `accessType`, `permission`, `principalType`, `principalId`)
|
|
|
|
VALUES
|
2023-02-28 11:46:48 +00:00
|
|
|
('DeviceProduction', '*', '*', 'ALLOW', 'ROLE', 'hr'),
|
|
|
|
('DeviceProductionModels', '*', '*', 'ALLOW', 'ROLE', 'hr'),
|
|
|
|
('DeviceProductionState', '*', '*', 'ALLOW', 'ROLE', 'hr'),
|
|
|
|
('DeviceProductionUser', '*', '*', 'ALLOW', 'ROLE', 'hr'),
|
|
|
|
('DeviceProduction', '*', '*', 'ALLOW', 'ROLE', 'productionAssi'),
|
|
|
|
('DeviceProductionModels', '*', '*', 'ALLOW', 'ROLE', 'productionAssi'),
|
|
|
|
('DeviceProductionState', '*', '*', 'ALLOW', 'ROLE', 'productionAssi'),
|
|
|
|
('DeviceProductionUser', '*', '*', 'ALLOW', 'ROLE', 'productionAssi'),
|
|
|
|
('Worker', 'deallocatePDA', '*', 'ALLOW', 'ROLE', 'hr'),
|
|
|
|
('Worker', 'allocatePDA', '*', 'ALLOW', 'ROLE', 'hr'),
|
|
|
|
('Worker', 'deallocatePDA', '*', 'ALLOW', 'ROLE', 'productionAssi'),
|
|
|
|
('Worker', 'allocatePDA', '*', 'ALLOW', 'ROLE', 'productionAssi');
|