NokiaTube | New address | Mode Phone | Off high quality for Nokia Browser
Skip to content

Remove the SCIM group members or user groups listed in a PATCH remove value- #55310 - #55584

Open
sguilhen wants to merge 3 commits into
keycloak:release/26.8from
sguilhen:backport-55310-26.8
Open

sguilhen wants to merge 3 commits into
keycloak:release/26.8from
sguilhen:backport-55310-26.8

Conversation

@sguilhen

@sguilhen sguilhen commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

Closes #55307

@sguilhen
sguilhen requested a review from a team as a code owner November 26, 2026 14:38
@keycloak-github-bot keycloak-github-bot Bot linked an issue Nov 26, 2026 that may be closed by this pull request
1 of 2 tasks
Prasad484 and others added 3 commits November 26, 2026 11:47
… value

A PATCH remove with a list in the operation's value and no filter in the path now removes the listed entries, instead of answering 200 and changing nothing. On a group, path members removes those members; on a user, path groups removes the user from those groups. The value is passed to the model schema; a remove with both a filter and a value is rejected with 400. An entry without a value (a group member, or a user's group in an add, remove or PUT), and an add or remove entry that is not an object, such as null or a bare id, or whose fields cannot be read, such as {"value": {}}, are rejected with 400 instead of failing with 500. An add or remove that spells members or groups in another case, such as Members, with a single object in value now works as the lowercase spelling does, instead of failing with 500.

Closes keycloak#55307

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Prasad Rahatekar <[email protected]>
(cherry picked from commit dbd8325)
…example

The server admin guide test fails on any {name} that is neither a defined
attribute nor on its ignore list. groupId1 and groupId2 are on neither;
groupIdA and groupIdB are.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Prasad Rahatekar <[email protected]>
(cherry picked from commit 650fc88)
The check that rejects an entry that is not an object applies only to
multi-valued complex attributes such as members and groups. Simple
multi-valued attributes, such as a custom attribute holding strings,
still accept string entries.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Prasad Rahatekar <[email protected]>
(cherry picked from commit 549623e)
@sguilhen
sguilhen force-pushed the backport-55310-26.8 branch from 71a38d1 to 9e615dd Compare November 26, 2026 14:48
@stianst stianst added the kind/bug Categorizes a PR related to a bug label Nov 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/bug Categorizes a PR related to a bug team/core-iam

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SCIM PATCH remove on members with a value list answers 200 and removes nobody

3 participants