12 lines
698 B
SQL
12 lines
698 B
SQL
INSERT INTO `salix`.`ACL` ( model, property, accessType, permission, principalType, principalId)
|
|
VALUES
|
|
('ExpeditionMistakeType', '*', 'READ', 'ALLOW', 'ROLE', 'employee'),
|
|
('WorkerMistakeType', '*', 'READ', 'ALLOW', 'ROLE', 'employee'),
|
|
('ExpeditionMistake','*','WRITE','ALLOW','ROLE','employee'),
|
|
('WorkerMistake', '*', 'WRITE', 'ALLOW', 'ROLE', 'coolerBoss'),
|
|
('MistakesTypes', '*', 'WRITE', 'ALLOW', 'ROLE', 'coolerBoss'),
|
|
('MistakeType','*','READ','ALLOW','ROLE','employee'),
|
|
('MachineWorker', '*', 'READ', 'ALLOW', 'ROLE', 'coolerAssist'),
|
|
('Printer','*','READ','ALLOW','ROLE','employee'),
|
|
('SaleMistake', '*', 'WRITE', 'ALLOW', 'ROLE', 'production');
|