8000 [FGAP] Make additional rest endpoints respect permissions · Issue #40058 · keycloak/keycloak · GitHub
[go: up one dir, main page]

Skip to content

[FGAP] Make additional rest endpoints respect permissions #40058

Closed

Description

@vramik

There are REST endpoint which does not take admin permissions into an account when returning response.

With following permission denying to view a userC:
Image

When listing client sessions:

GET | http://localhost:8080/admin/realms/test/ui-ext/sessions/client?first=0&max=11&type=ALL&clientId=7bb6b97b-67b6-4cc6-9d99-974c73ec9157&search=

Image

Or when listing users with a certain role:

GET | http://localhost:8080/admin/realms/test/clients/7bb6b97b-67b6-4cc6-9d99-974c73ec9157/roles/test-role/users?briefRepresentation=true&first=0&max=11

Image

The lists includes users who should not be visible.

Activity

  1. added
    kind/enhancement
    area/admin/fine-grained-permissions
    on May 29, 2025
  2. added theissue type on May 29, 2025
  3. added
    priority/important
    on May 29, 2025
  4. self-assigned this
    on Sep 30, 2025
  5. added
    kind/bug
    and removed
    kind/enhancement
    on Sep 30, 2025
  6. changed the issue type fromtoon Sep 30, 2025
  7. added a commit that references this issue on Oct 8, 2025
    e4dc88d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area/admin/fine-grained-permissionskind/bugpriority/importantrelease/26.5.0team/core-iam

Type

Fields

No fields configured for bug.

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    0