Skip to content

Scope FGAP filtering to admin requests (26.8 backport) - #54630

Open
martin-kanis wants to merge 3 commits into
keycloak:release/26.8from
martin-kanis:backport-54054-26.8
Open

martin-kanis wants to merge 3 commits into
keycloak:release/26.8from
martin-kanis:backport-54054-26.8

Conversation

@martin-kanis

Copy link
Copy Markdown
Member

Backport of #54054 to release/26.8.

The three commits from #54074 were squashed into one backport commit.

@pedroigor
pedroigor marked this pull request as ready for review November 9, 2026 14:34
@pedroigor
pedroigor requested a review from a team as a code owner November 9, 2026 14:34
@pedroigor
pedroigor force-pushed the backport-54054-26.8 branch 4 times, most recently from 9d32d4f to 37d49f8 Compare November 12, 2026 11:28
pedroigor
pedroigor previously approved these changes Nov 12, 2026
martin-kanis and others added 3 commits November 12, 2026 09:09
…kups

Backport all three commits from PR keycloak#54074 for keycloak#54054 to release/26.8.

Bind automatic FGAP query filtering to the authenticated Admin or SCIM
identity. Keep internal role, group and policy lookups unfiltered to avoid
LDAP group resolution failures and recursive authorization evaluation.

Include LDAP login, token and delegated-admin regression coverage. Adapt
the group visibility test to the 26.8 admin client using a local REST proxy
while preserving the flat-list assertions.

Closes keycloak#54054

(cherry picked from commit 8ae1053)
(cherry picked from commit c612179)
(cherry picked from commit 244ec89)

Signed-off-by: Martin Kanis <mkanis@ibm.com>
Co-authored-by: Pedro Igor <pigor.craveiro@gmail.com>
Signed-off-by: Pedro Igor <pigor.craveiro@gmail.com>
closes: keycloak#54356

Signed-off-by: Michal Vavřík <dev@michalvavrik.net>

(cherry picked from commit 95ef67c)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
(cherry picked from commit 03f977f)
Closes keycloak#53265

Signed-off-by: Pedro Igor <pigor.craveiro@gmail.com>
(cherry picked from commit 7a11890)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

# Conflicts:
#	tests/base/src/test/java/org/keycloak/tests/admin/PermissionsTest.java
#	tests/base/src/test/java/org/keycloak/tests/admin/authz/fgap/ClientResourceTypeEvaluationTest.java
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants