This commit is contained in:
parent
a86469ccd2
commit
18de92f9e7
|
@ -1,11 +1,11 @@
|
|||
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');
|
||||
('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');
|
||||
|
|
|
@ -8,8 +8,8 @@
|
|||
},
|
||||
"properties": {
|
||||
"id": {
|
||||
"id":true,
|
||||
"type": "number"
|
||||
"id":true,
|
||||
"type": "number"
|
||||
},
|
||||
"description": {
|
||||
"type": "string"
|
||||
|
|
|
@ -7,10 +7,9 @@
|
|||
}
|
||||
},
|
||||
"properties": {
|
||||
"code": {
|
||||
"id":true,
|
||||
"type": "string"
|
||||
|
||||
"code": {
|
||||
"id":true,
|
||||
"type": "string"
|
||||
},
|
||||
"description": {
|
||||
"type": "string"
|
||||
|
|
Loading…
Reference in New Issue