refs #7406 worker formation #2511
|
@ -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');
|
||||||
|
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');
|
|
@ -124,6 +124,15 @@
|
||||||
},
|
},
|
||||||
"Locker": {
|
"Locker": {
|
||||||
"dataSource": "vn"
|
"dataSource": "vn"
|
||||||
|
},
|
||||||
|
"TrainingCourse": {
|
||||||
|
"dataSource": "vn"
|
||||||
|
},
|
||||||
|
"TrainingCourseType": {
|
||||||
|
"dataSource": "vn"
|
||||||
|
},
|
||||||
|
"TrainingCenter": {
|
||||||
|
"dataSource": "vn"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"name": "trainingCourseType",
|
"name": "TrainingCourseType",
|
||||||
"description": "List of trainings",
|
"description": "List of trainings",
|
||||||
"base": "VnModel",
|
"base": "VnModel",
|
||||||
"options": {
|
"options": {
|
||||||
|
@ -27,7 +27,7 @@
|
||||||
},
|
},
|
||||||
"trainingCourseType": {
|
"trainingCourseType": {
|
||||||
"type": "belongsTo",
|
"type": "belongsTo",
|
||||||
"model": "trainingCourseType",
|
"model": "TrainingCourseType",
|
||||||
"foreignKey": "trainingCourseTypeFk"
|
"foreignKey": "trainingCourseTypeFk"
|
||||||
},
|
},
|
||||||
"centerFk": {
|
"centerFk": {
|
||||||
|
|
Loading…
Reference in New Issue