-
-
Notifications
You must be signed in to change notification settings - Fork 124
Description
Hello, nice project!
I have a question, maybe is my wrong configuration.
The User schema has groups attribute set readonly:
{
"name": "groups",
"type": "complex",
"multiValued": true,
"descriptions": null,
"required": false,
"caseExact": false,
"mutability": "readonly",
"returned": "default",
"uniqueness": "none",
"subAttributes": [
{
"name": "value",
"type": "string",
"multiValued": false,
"descriptions": null,
"required": false,
"caseExact": false,
"mutability": "readonly",
"returned": "default",
"uniqueness": "none"
}
]
}
Than on the Group schema I have a members attribute.
To add a new user to a spcific group I can use patch to Group, but what about getting groups from Users endpoint?
If I understood correctly, the values of members in Group representation is the id of user, so when I get specific user I should get also groups, am I right?
If so, is this behaviour implemented?
Thanks a lot :-)