Skip to content

Commit

Permalink
add userType to educationUser as well
Browse files Browse the repository at this point in the history
Signed-off-by: Jörn Friedrich Dreyer <[email protected]>
  • Loading branch information
butonic committed Jan 4, 2024
1 parent 1bb23a0 commit c55d753
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions api/openapi-spec/v1.0.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1957,6 +1957,7 @@ paths:
displayName: Max Mustermann
mail: [email protected]
primaryRole: student
userType: Member
identities:
- issuer: idp.school.com
issuerAssignedId: max.mustermann
Expand Down Expand Up @@ -2076,6 +2077,7 @@ paths:
givenName: Max
mail: [email protected]
primaryRole: student
userType: Member
identities:
- issuer: idp.school.com
issuerAssignedId: max.mustermann
Expand Down Expand Up @@ -2290,6 +2292,7 @@ paths:
givenName: Max
mail: [email protected]
primariyRole: student
userType: Member
identities:
- issuer: idp.school.com
issuerAssignedId: max.mustermann
Expand Down Expand Up @@ -2644,6 +2647,7 @@ paths:
givenName: Max
mail: [email protected]
primariyRole: student
userType: Member
identities:
- issuer: idp.school.com
issuerAssignedId: max.mustermann
Expand Down Expand Up @@ -2746,6 +2750,7 @@ paths:
givenName: Max
mail: [email protected]
primariyRole: teacher
userType: Member
identities:
- issuer: idp.school.com
issuerAssignedId: max.mustermann
Expand Down Expand Up @@ -3149,6 +3154,9 @@ components:
displayName:
type: string
description: 'The name displayed in the address book for the user. This value is usually the combination of the user''s first name, middle initial, and last name. This property is required when a user is created and it cannot be cleared during updates. Returned by default. Supports $orderby.'
givenName:
type: string
description: The user's givenName. Returned by default.
drives:
type: array
items:
Expand Down Expand Up @@ -3181,15 +3189,14 @@ components:
surname:
type: string
description: The user's surname (family name or last name). Returned by default.
givenName:
type: string
description: The user's givenName. Returned by default.
primaryRole:
type: string
enum: [student, teacher]
description: 'The user`s default role. Such as "student" or "teacher"'
userType:
type: string
description: 'The user`s type. This can be either "Member" for regular user, or "Guest" for guest users.'
enum: [Member, Guest]
description: 'A string value that can be used to classify user types in your directory, such as ''Member'' and ''Guest''. Returned only on $select. Supports $filter.'
drive:
description: The drive represents a space on the storage.
type: object
Expand Down Expand Up @@ -4684,6 +4691,7 @@ components:
givenName: Max
mail: [email protected]
primaryRole: student
userType: Member
identities:
- issuer: idp.school.com
issuerAssignedId: max.mustermann
Expand All @@ -4695,6 +4703,7 @@ components:
givenName: Max
mail: [email protected]
primaryRole: student
userType: Member
identities:
- issuer: idp.school.com
issuerAssignedId: max.mustermann
Expand Down

0 comments on commit c55d753

Please sign in to comment.