Repository navigation
Conversation
1 of 2 tasks
… 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
force-pushed
the
backport-55310-26.8
branch
from
November 26, 2026 14:48
71a38d1 to
9e615dd
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #55307