refs #6553 fix acls
gitea/salix/pipeline/pr-dev There was a failure building this commit Details

This commit is contained in:
Carlos Satorres 2024-06-10 09:29:37 +02:00
parent 06fe0f5cef
commit 41fabecc9b
2 changed files with 4 additions and 1 deletions

View File

@ -20,3 +20,6 @@ INSERT INTO salix.ACL (model,property,accessType,permission,principalType,princi
VALUES ('PayrollCategory','*','*','ALLOW','ROLE','employee');
INSERT INTO salix.ACL (model,property,accessType,permission,principalType,principalId)
VALUES ('Worker','__get__business','*','ALLOW','ROLE','employee');
INSERT INTO salix.ACL (model,property,accessType,permission,principalType,principalId)
VALUES ('Worker','__create__business','*','ALLOW','ROLE','employee');

View File

@ -33,7 +33,7 @@
"type": "number"
},
"occupationCodeFk" : {
"type": "number"
"type": "string"
},
"workerFk" : {
"type": "number"