+
Skip to content

ClientPermissionsV2.getClientIdsByScope doesn't return id of a client even though there is permission allowing access #39170

Closed
@vramik

Description

@vramik

Here is my steps:

  • grant query-users and query-clients roles to a user say realmAdmin
  • create a policy allowing user realmAdmin and set logic to Positive
  • create two permissions with the previously created policy
    • user type resource: map-roles, view for any user
    • client type resource: grant map-roles, view, map-roles-client-scope, map-roles-composite of a specific client, say FooClient, which has a client role let's say foo
  • login as realmAdmin
    • I can see the FooClient in Clients, and its roles
    • go to user management, and enter the management page of a user. Go to role mapping tab, and click assign role. It show no roles for this user. I assume it should show all roles related to client FooClient. I even tried creating a role type resource in permission and grant Map-role-composite, Map-role, Map-role-client-scope to all roles, and it does not help.

Originally posted by @fMeow in #37133 (reply in thread)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载