FGAP v2: Introduce fine-grained RESET_PASSWORD capability with deny-overrides evaluation#41884
Closed
Bagautdino wants to merge 4 commits intokeycloak:mainfrom
Bagautdino:main
Closed
FGAP v2: Introduce fine-grained RESET_PASSWORD capability with deny-overrides evaluation#41884Bagautdino wants to merge 4 commits intokeycloak:mainfrom Bagautdino:main
Bagautdino wants to merge 4 commits intokeycloak:mainfrom
Bagautdino:main
Conversation
ahus1
requested changes
Aug 14, 2025
Member
ahus1
left a comment
There was a problem hiding this comment.
Thank you for this change, this looks like a great addition.
To align with our CONTRIBUTING.md guide, please create an enhancement issue in addition to the PR to describe why this enhancement is needed, and then link the two. I can help with the linking if you drop the issue number in a comment.
In general, avoid creating comments by merging main, as they are difficult when rebasing the PR.
Also, only rebase when there are conflicts or a maintainer asks you to rebase.
Thanks!
Member
|
Also: Please sign-off your commits to make the DCO action pass. |
Member
|
cc: @keycloak/core-iam, this might be an interesting PR coming up. |
Member
|
Follow-up PR: #41904 |
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.
This PR introduces a dedicated RESET_PASSWORD capability to the USERS resource
in FGAP v2 (Fine-Grained Admin Permissions), enabling precise control over
password reset operations.
Key changes:
and requireResetPassword().
resetPasswordflag for UI control.Behavior changes:
no longer grants password reset rights.
Includes:
fgap.v2.resetPassword.fallbackToManageUsers(bool, default=false).This change strengthens password reset governance by ensuring
policy-based control and removing implicit MANAGE_USERS inheritance
when fine-grained permissions are in effect.