ACL para sector,añadido sector al model-config
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Pau 2022-09-23 13:53:33 +02:00
parent 620162aec7
commit 26a16bf846
4 changed files with 8 additions and 24 deletions

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": {
"dataSource": "vn"
},
"Sector": {
"dataSource": "vn"
}
}

View File

@ -20,9 +20,6 @@
"EducationLevel": {
"dataSource": "vn"
},
"Sector": {
"dataSource": "vn"
},
"WorkCenter": {
"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
}
}
}