refs #5134 feat: correct sql
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Alex Moreno 2023-08-11 12:53:43 +02:00
parent a6047d257b
commit 1ec51d94cf
3 changed files with 12 additions and 18 deletions

View File

@ -1,3 +0,0 @@
INSERT INTO `salix`.`ACL` (`model`, `property`, `accessType`, `permission`, `principalType`, `principalId`)
VALUES
('SaleMistake', 'create', 'WRITE', 'ALLOW', 'ROLE', 'employee');

View File

@ -1,29 +1,29 @@
INSERT INTO salix.ACL ( model, property, accessType, permission, principalType, principalId)
INSERT INTO `salix`.`ACL` ( model, property, accessType, permission, principalType, principalId)
VALUES('ExpeditionMistakeType', '*', 'READ', 'ALLOW', 'ROLE', 'employee');
INSERT INTO salix.ACL (id, model, property, accessType, permission, principalType, principalId)
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)
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)
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)
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)
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)
INSERT INTO `salix`.`ACL` (model,property,accessType,permission,principalType,principalId)
VALUES ('MistakeType','*','READ','ALLOW','ROLE','employee');
INSERT INTO salix.ACL (id, model, property, accessType, permission, principalType, principalId)
VALUES(698, 'MachineWorker', '*', 'READ', 'ALLOW', 'ROLE', 'coolerAssist');
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)
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');
INSERT INTO `salix`.`ACL` (model, property, accessType, permission, principalType, principalId)
VALUES( 'SaleMistake', '*', 'WRITE', 'ALLOW', 'ROLE', 'production');

View File

@ -53,9 +53,6 @@
"SaleGroupDetail": {
"dataSource": "vn"
},
"SaleMistake": {
"dataSource": "vn"
},
"SaleTracking": {
"dataSource": "vn"
},