3584-Modelo-Sector #1062

Merged
joan merged 2 commits from 3584-Modelo-Sector into dev 2022-09-23 12:21:01 +00:00
4 changed files with 8 additions and 24 deletions
Showing only changes of commit 26a16bf846 - Show all commits

View File

@ -0,0 +1,4 @@
INSERT INTO `salix`.`ACL` (model,property,accessType,permission,principalType,principalId)
VALUES ('Sector','*','READ','ALLOW','ROLE','employee');
INSERT INTO `salix`.`ACL` (model,property,accessType,permission,principalType,principalId)
VALUES ('Sector','*','WRITE','ALLOW','ROLE','employee');

View File

@ -7,5 +7,8 @@
}, },
"ShelvingLog": { "ShelvingLog": {
"dataSource": "vn" "dataSource": "vn"
},
"Sector": {
"dataSource": "vn"
} }
} }

View File

@ -20,9 +20,6 @@
"EducationLevel": { "EducationLevel": {
"dataSource": "vn" "dataSource": "vn"
}, },
"Sector": {
"dataSource": "vn"
},
"WorkCenter": { "WorkCenter": {
"dataSource": "vn" "dataSource": "vn"
}, },

View File

@ -1,20 +0,0 @@
{
"name": "Sector",
"base": "VnModel",
"options": {
"mysql": {
"table": "sector"
}
},
"properties": {
"id": {
"type": "number",
"id": true,
"description": "Identifier"
},
"description": {
"type": "string",
"required": true
}
}
}