#6938 add scope & acls #2301

Merged
jorgep merged 7 commits from 6938-hideWorkerPhone into dev 2024-04-16 06:38:47 +00:00
1 changed files with 45 additions and 22 deletions
Showing only changes of commit d7b06fe637 - Show all commits

View File

@ -95,23 +95,6 @@
},
"scopes":{
"summary": {
"fields": [
"id",
"firstName",
"lastName",
"bossFk",
"maritalStatus",
"originCountryFk",
"educationLevelFk",
"SSN",
"mobileExtension",
"code",
"locker",
"fi",
"birth",
"isF11Allowed"
]
,
"include": [
{
"relation": "user",
@ -128,16 +111,56 @@
"relation": "department",
"scope": {
"include": {
"relation": "department",
"scope": {
"fields": ["name"]
}
"relation": "department"
}
}
}, {
"relation": "boss"
}, {
"relation": "client"
"relation": "client",
"scope": {
"fields": [
"id",
"name",
"fi",
"socialName",
"contact",
"street",
"city",
"postcode",
"email",
"mobile",
"isActive",
"credit",
"creditInsurance",
"iban",
"dueDay",
"isEqualizated",
"isFreezed",
"hasToInvoiceByAddress",
"hasToInvoice",
"isToBeMailed",
"hasSepaVnl",
"hasLcr",
"hasCoreVnl",
"hasCoreVnh",
"hasIncoterms",
"isTaxDataChecked",
"eypbc",
"quality",
"isVies",
"isRelevant",
"accountingAccount",
"created",
"sageTaxTypeFk",
"sageTransactionTypeFk",
"businessTypeFk",
"salesPersonFk",
"hasElectronicInvoice",
"rating",
"recommendedCredit"
]
}
}, {
"relation": "sip"
}