Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Groups not listed properly with "Fine grained permission" enabled #28270

Closed
1 of 2 tasks
mpalavrov opened this issue Mar 28, 2024 · 2 comments
Closed
1 of 2 tasks

Groups not listed properly with "Fine grained permission" enabled #28270

mpalavrov opened this issue Mar 28, 2024 · 2 comments

Comments

@mpalavrov
Copy link

Before reporting an issue

  • I have read and understood the above terms for submitting issues, and I understand that my issue may be closed without action if I do not follow them.

Area

account/ui

Describe the bug

When "Fine grained permission" is enabled, and Admin user of particular Groups (For example, lets say the user is Admin of 4 groups out of 100), when trying to assign the groups to an user, the groups are not properly listed. The groups are listed per the total count of groups, didn't taking in consideration the groups that the Admin user is Admin of.
You can see the short video below:
Groups with Fine Grained permission not listed properly

Total groups:
image

Groups the Admin user is assigned to:
image

Direct search of group to be assigned on the user (OK):
image

Version

24.0.2

Regression

  • The issue is a regression

Expected behavior

The admin user to have returned the groups, available for assignment, without starting to count them from 1st to last, as it is in the list of all groups assigned on the realm.

Actual behavior

The groups are tried to be viewed as if no Fine grained permission was applied, and this is why the correct available groups are not directly listed. In order to find them, a direct search is required most of the time.

How to Reproduce?

  • Create a lot of groups (100)
  • Enable and configure the Fine Grained permission based on groups
  • Create an Admin user, having the query-users and query-groups realm-management roles
  • Assign groups, which are Admin groups for others, like:
    Policy:
    image
    Group permissions:
    image
    Manage members permission:
    image

Anything else?

No response

@keycloak-github-bot
Copy link

Due to the amount of issues reported by the community we are not able to prioritise resolving this issue at the moment.

If you are affected by this issue, upvote it by adding a 👍 to the description. We would also welcome a contribution to fix the issue.

@keycloak-github-bot
Copy link

Due to lack of updates in the last 180 days this issue will be automatically closed.

@keycloak-github-bot keycloak-github-bot bot closed this as not planned Won't fix, can't repro, duplicate, stale Jun 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants