5134-ModelsSalix #1768

Merged
alexm merged 9 commits from 5134-ModelsSalix into dev 2023-09-28 11:20:22 +00:00
8 changed files with 21 additions and 40 deletions
Showing only changes of commit a86469ccd2 - Show all commits

View File

@ -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');

View File

@ -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');

View File

@ -10,7 +10,7 @@
"id": {
"type": "number",
"description": "Identifier",
"id": true
"id": true
sergiodt marked this conversation as resolved Outdated
Outdated
Review

Ns si es gitea, pero te com una tabulacio de mes

Ns si es gitea, pero te com una tabulacio de mes
},
"code": {
"type": "string"

View File

@ -36,7 +36,7 @@
"dataSource": "vn"
},
"ExpeditionMistakeType": {
"dataSource": "vn"
"dataSource": "vn"
sergiodt marked this conversation as resolved Outdated
Outdated
Review

Afegir tabulacio

Afegir tabulacio
},
"PrintServerQueue": {
"dataSource": "vn"

View File

@ -7,10 +7,9 @@
}
},
"properties": {
"code": {
"id":true,
"type": "string"
"code": {
"id":true,
"type": "string"
},
sergiodt marked this conversation as resolved
Review

LLevar espai

LLevar espai
"description": {
"type": "string"

View File

@ -7,7 +7,7 @@
}
},
"properties": {
"id": {
"id": {
sergiodt marked this conversation as resolved Outdated
Outdated
Review

Tabulació

Tabulació
"id":true,
"type": "number"
},

View File

@ -7,10 +7,10 @@
}
},
"properties": {
"id": {
"id":true,
"type": "number"
},
"id": {
sergiodt marked this conversation as resolved Outdated
Outdated
Review

Tabulació

Tabulació
"id":true,
"type": "number"
},
"userFk": {
"type": "number"
},