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
When choosing resources in scope-based permission, multiple resource can be selected but only one will be visable #20304
Comments
I have reproduced this. Weird thing for me is that the |
Hmm, I've tried different approaches and had a problem only with |
I'm using 22.0.1 now and I still can't select more than one resource. |
If you are still experiencing issues, please open a new issue so we can triage it. |
I'm just going to reopen this. I have verified that the original problem(s) is not fixed. |
fixes: keycloak#20304 Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
fixes: #20304 Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
fixes: keycloak#20304 Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
fixes: keycloak#20304 Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com> Signed-off-by: Stefan Wiedemann <wistefan@googlemail.com>
fixes: keycloak#20304 Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com> Signed-off-by: Kamontat Chantrachirathumrong <14089557+kamontat@users.noreply.github.com>
fixes: keycloak#20304 Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com> Signed-off-by: ShefeeqPM <86718986+ShefeeqPM@users.noreply.github.com>
fixes: keycloak#20304 Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
Before reporting an issue
Area
admin/ui
Describe the bug
In the Admin-UI in the Authorization panel I've tried to create a scope-base permission with multiple resources, but the dropdown is designed to select only one (although the field is named the same as in the resource-base permission: "Resources"), but if you still click on multiple resources they are added even though only one is visible
Version
21.1.0
Expected behavior
This is example after I've removed the
variant
fromResourcesPolicySelect
(which default value istypeaheadMulti
)variant={ permissionType === "scope" ? SelectVariant.typeahead : SelectVariant.typeaheadMulti }
from here:
https://github.com/keycloak/keycloak/blob/main/js/apps/admin-ui/src/clients/authorization/PermissionDetails.tsx#L314
I don't know if this could be the fix here or the
SelectVariant.typeahead
should be modified.Actual behavior
As it can be seen below, after adding multiple resources, only one is visible in the UI, but more are saved and it's hard to manage them from the UI.
How to Reproduce?
Create scope-base permission with multiple resources
Anything else?
No response
The text was updated successfully, but these errors were encountered: