Skip to content

UserQuery do not handle composite role #3524

Open

Description

@ebariaux

UserQuery does not take composite role into account.
With a relationship such as User A -> MyRole -> RestrictedUser, filtering for RestictedUser as realm role would not match with the current implementation.

Present in v1.33.0

Expected behaviour is that UserQuery correctly expands composite role when performing the match.

Activity

  1. ebariaux commented on Oct 30, 2026

    @ebariaux
    ContributorAuthor

    AlarmFacade currently uses IdentityProvider.getUserRealmRoles() to ensure composite role are properly taken into account, this should be replaced with a UserQuery when this gets fixed.
    See #3459 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions