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
Keycloak 21.1.1: Paging and filtering not working in "Assign roles" popup for Groups #19981
Comments
I have reproduced this bug. Attaching a partial import file to create 150 roles. |
Hello Erik, I assume it will be backported to the 21.1 release branch,
right?
…On Wed, May 3, 2023 at 7:10 PM Erik Jan de Wit ***@***.***> wrote:
Closed #19981 <#19981> as
completed via #20102 <#20102>.
—
Reply to this email directly, view it on GitHub
<#19981 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAJZ6CTTY2C2CISHPDH25H3XEJ7PRANCNFSM6AAAAAAXNRP6FY>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
@lrozenblyum yes that has been done in #20142 |
Hi guys - thanks for working on this. In a bit of a panic this weekend because we just went over 100+ roles in a major installation and can't assign roles via the admin ui due to this issue. I just wanted to comment that the description mentions 'groups', but it happens on 'user' role assignments as well. I understand that this may use the same dialog/popup as groups. But I just thought I'd mention it. Thanks again for working on it. |
@frankXorFox you can try it out with the nightly release |
@frankXorFox 21.1.2 is released and includes the fix for this issue, you may give it a try. |
Before reporting an issue
Area
admin/ui
Describe the bug
In the new Admin UI, in "Role Mapping" tab for a group, when clicking on "Assign roles" button, the popup will display only the first page of role results. Clicking on next, will display the same first page of results, so its not possible to display subsequent pages.
When entering search term in "Search by role name" field, the search term doesn't affect the result, but the same unfiltered first page of results is displayed.
The requests sent to keycloak server:
/groups/b06c2caa-7742-4747-9f96-8fcd78c43cc8/role-mappings/realm/available?first=0&max=11 - result contains all 21 roles (I have 21 in the realm), but the UI displays only first 10
/groups/b06c2caa-7742-4747-9f96-8fcd78c43cc8/role-mappings/realm/available?first=10&max=11 - result contains all 21 roles (I have 21 in the realm), but the UI displays only first 10
/groups/b06c2caa-7742-4747-9f96-8fcd78c43cc8/role-mappings/realm/available?first=0&max=11&search=test - result contains all 21 roles (I have 21 in the realm), but the UI displays only first 10
Theories: it's either a backend issue, or the parameter names sent from the frontend are incorrect.
Version
21.1.1
Expected behavior
Actual behavior
How to Reproduce?
Anything else?
No response
The text was updated successfully, but these errors were encountered: