refs #7406 changes sql, modelconfig model
gitea/salix/pipeline/pr-dev This commit looks good
Details
gitea/salix/pipeline/pr-dev This commit looks good
Details
This commit is contained in:
parent
208409acb2
commit
578b8a2c71
|
@ -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": {
|
||||
"dataSource": "vn"
|
||||
},
|
||||
"TrainingCourse": {
|
||||
"dataSource": "vn"
|
||||
},
|
||||
"TrainingCourseType": {
|
||||
"dataSource": "vn"
|
||||
},
|
||||
"TrainingCenter": {
|
||||
"dataSource": "vn"
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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": {
|
||||
|
|
Loading…
Reference in New Issue