refs #7406 worker formation #2511

Merged
carlossa merged 12 commits from 7406-workerFormation into dev 2024-06-25 11:17:58 +00:00
3 changed files with 20 additions and 2 deletions
Showing only changes of commit 578b8a2c71 - Show all commits

View File

@ -0,0 +1,9 @@
-- Auto-generated SQL script. Actual values for binary/complex data types may differ - what you see is the default string representation of values.
INSERT INTO salix.ACL (model,property,accessType,permission,principalType,principalId)
VALUES ('TrainingCourse','*','*','ALLOW','ROLE','employee');
carlossa marked this conversation as resolved Outdated
Outdated
Review

seria hr?

seria hr?
INSERT INTO salix.ACL (model,property,accessType,permission,principalType,principalId)
VALUES ('TrainingCourseType','*','*','ALLOW','ROLE','employee');
INSERT INTO salix.ACL (model,property,accessType,permission,principalType,principalId)
VALUES ('TrainingCenter','*','*','ALLOW','ROLE','employee');
INSERT INTO salix.ACL (model,property,accessType,permission,principalType,principalId)
VALUES ('Worker','__get_trainingCourse','*','ALLOW','ROLE','employee');

View File

@ -124,6 +124,15 @@
},
"Locker": {
"dataSource": "vn"
},
"TrainingCourse": {
"dataSource": "vn"
},
"TrainingCourseType": {
"dataSource": "vn"
},
"TrainingCenter": {
"dataSource": "vn"
}
}

View File

@ -1,5 +1,5 @@
{
"name": "trainingCourseType",
"name": "TrainingCourseType",
"description": "List of trainings",
"base": "VnModel",
"options": {
@ -27,7 +27,7 @@
},
"trainingCourseType": {
"type": "belongsTo",
"model": "trainingCourseType",
"model": "TrainingCourseType",
"foreignKey": "trainingCourseTypeFk"
},
"centerFk": {