feat: refs #7524 restrict fields
gitea/salix/pipeline/pr-dev This commit looks good Details

This commit is contained in:
Jorge Penadés 2024-10-27 13:47:52 +01:00
parent 76a9db29c2
commit d8e241740f
1 changed files with 17 additions and 4 deletions

View File

@ -256,10 +256,21 @@
} }
}, },
{ {
"relation": "boss" "relation": "boss",
"scope": {
"fields": [
"id",
"name"
]
}
}, },
{ {
"relation": "client" "relation": "client",
"scope": {
"fields": [
"id"
]
}
}, },
{ {
"relation": "sip", "relation": "sip",
@ -281,14 +292,16 @@
"fields": [ "fields": [
"id", "id",
"fiDueDate", "fiDueDate",
"sex",
"seniority", "seniority",
"fi", "fi",
"isFreelance", "isFreelance",
"isSsDiscounted", "isSsDiscounted",
"hasMachineryAuthorized", "hasMachineryAuthorized",
"isDisable", "isDisable",
"birth" "birth",
"educationLevelFk",
"originCountryFk",
"maritalStatus"
] ]
} }
} }