Merge pull request #9867 from rhafer/issue/9858

fix(graph): treat memberOf and userType as read-only attributes
This commit is contained in:
Jörn Friedrich Dreyer
2024-08-21 12:37:48 +02:00
committed by GitHub
7 changed files with 91 additions and 73 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ type Identity struct {
DisplayName string `json:"displayName"`
// Unique identifier for the identity.
Id *string `json:"id,omitempty"`
// The type of the identity. This can be either \"Member\" for regular user, \"Guest\" for guest users or \"Federated\" for users imported from a federated instance. Can be used by clients to indicate the type of user. For more details, clients should look up and cache the user at the /users enpoint.
// The type of the identity. This can be either \"Member\" for regular user, \"Guest\" for guest users or \"Federated\" for users imported from a federated instance. Can be used by clients to indicate the type of user. For more details, clients should look up and cache the user at the /users endpoint.
LibreGraphUserType *string `json:"@libre.graph.userType,omitempty"`
}