Merge pull request #10145 from Budibase/BUDI-6683-map-display-name
BUDI-6683 - Add and map display name in scim
This commit is contained in:
commit
523a1b95a4
|
@ -11,6 +11,7 @@ export interface ScimUserResponse extends ScimResource {
|
|||
resourceType: "User"
|
||||
}
|
||||
userName: string
|
||||
displayName?: string
|
||||
name: {
|
||||
formatted: string
|
||||
familyName: string
|
||||
|
@ -44,6 +45,7 @@ export interface ScimCreateUserRequest {
|
|||
meta: {
|
||||
resourceType: "User"
|
||||
}
|
||||
displayName?: string
|
||||
name: {
|
||||
formatted: string
|
||||
familyName: string
|
||||
|
|
|
@ -54,9 +54,10 @@ export interface User extends Document {
|
|||
userGroups?: string[]
|
||||
onboardedAt?: string
|
||||
scimInfo?: {
|
||||
isSync: boolean
|
||||
userName: string
|
||||
externalId: string
|
||||
isSync: boolean
|
||||
displayName?: string
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -395,11 +395,6 @@ describe("scim", () => {
|
|||
const body: ScimUpdateRequest = {
|
||||
schemas: ["urn:ietf:params:scim:api:messages:2.0:PatchOp"],
|
||||
Operations: [
|
||||
{
|
||||
op: "Add",
|
||||
path: "displayName",
|
||||
value: structures.generator.name(),
|
||||
},
|
||||
{
|
||||
op: "Add",
|
||||
path: "preferredLanguage",
|
||||
|
|
Loading…
Reference in New Issue