This commit is contained in:
parent
2ea2943eca
commit
a86469ccd2
|
@ -1,29 +0,0 @@
|
||||||
INSERT INTO `salix`.`ACL` ( model, property, accessType, permission, principalType, principalId)
|
|
||||||
VALUES('ExpeditionMistakeType', '*', 'READ', 'ALLOW', 'ROLE', 'employee');
|
|
||||||
|
|
||||||
INSERT INTO `salix`.`ACL` (model, property, accessType, permission, principalType, principalId)
|
|
||||||
VALUES('WorkerMistakeType', '*', 'READ', 'ALLOW', 'ROLE', 'employee');
|
|
||||||
|
|
||||||
INSERT INTO `salix`.`ACL` (model,property,accessType,permission,principalType,principalId)
|
|
||||||
VALUES ('ExpeditionMistake','*','WRITE','ALLOW','ROLE','employee');
|
|
||||||
|
|
||||||
INSERT INTO `salix`.`ACL` (model, property, accessType, permission, principalType, principalId)
|
|
||||||
VALUES('WorkerMistake', '*', 'WRITE', 'ALLOW', 'ROLE', 'coolerBoss');
|
|
||||||
|
|
||||||
INSERT INTO `salix`.`ACL` (model, property, accessType, permission, principalType, principalId)
|
|
||||||
VALUES('WorkerMistake', '*', 'WRITE', 'ALLOW', 'ROLE', 'coolerBoss');
|
|
||||||
|
|
||||||
INSERT INTO `salix`.`ACL` ( model, property, accessType, permission, principalType, principalId)
|
|
||||||
VALUES('MistakesTypes', '*', 'WRITE', 'ALLOW', 'ROLE', 'coolerBoss');
|
|
||||||
|
|
||||||
INSERT INTO `salix`.`ACL` (model,property,accessType,permission,principalType,principalId)
|
|
||||||
VALUES ('MistakeType','*','READ','ALLOW','ROLE','employee');
|
|
||||||
|
|
||||||
INSERT INTO `salix`.`ACL` (model, property, accessType, permission, principalType, principalId)
|
|
||||||
VALUES('MachineWorker', '*', 'READ', 'ALLOW', 'ROLE', 'coolerAssist');
|
|
||||||
|
|
||||||
INSERT INTO `salix`.`ACL` (model,property,accessType,permission,principalType,principalId)
|
|
||||||
VALUES ('Printer','*','READ','ALLOW','ROLE','employee');
|
|
||||||
|
|
||||||
INSERT INTO `salix`.`ACL` (model, property, accessType, permission, principalType, principalId)
|
|
||||||
VALUES( 'SaleMistake', '*', 'WRITE', 'ALLOW', 'ROLE', 'production');
|
|
|
@ -0,0 +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');
|
||||||
|
('SaleMistake', '*', 'WRITE', 'ALLOW', 'ROLE', 'production');
|
|
@ -10,7 +10,7 @@
|
||||||
"id": {
|
"id": {
|
||||||
"type": "number",
|
"type": "number",
|
||||||
"description": "Identifier",
|
"description": "Identifier",
|
||||||
"id": true
|
"id": true
|
||||||
},
|
},
|
||||||
"code": {
|
"code": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
|
|
|
@ -36,7 +36,7 @@
|
||||||
"dataSource": "vn"
|
"dataSource": "vn"
|
||||||
},
|
},
|
||||||
"ExpeditionMistakeType": {
|
"ExpeditionMistakeType": {
|
||||||
"dataSource": "vn"
|
"dataSource": "vn"
|
||||||
},
|
},
|
||||||
"PrintServerQueue": {
|
"PrintServerQueue": {
|
||||||
"dataSource": "vn"
|
"dataSource": "vn"
|
||||||
|
|
|
@ -7,10 +7,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"properties": {
|
"properties": {
|
||||||
"code": {
|
"code": {
|
||||||
"id":true,
|
"id":true,
|
||||||
"type": "string"
|
"type": "string"
|
||||||
|
|
||||||
},
|
},
|
||||||
"description": {
|
"description": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"properties": {
|
"properties": {
|
||||||
"id": {
|
"id": {
|
||||||
"id":true,
|
"id":true,
|
||||||
"type": "number"
|
"type": "number"
|
||||||
},
|
},
|
||||||
|
|
|
@ -7,10 +7,10 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"properties": {
|
"properties": {
|
||||||
"id": {
|
"id": {
|
||||||
"id":true,
|
"id":true,
|
||||||
"type": "number"
|
"type": "number"
|
||||||
},
|
},
|
||||||
"userFk": {
|
"userFk": {
|
||||||
"type": "number"
|
"type": "number"
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue