Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Network error attempting to view default realm roles without permissions #29211

@Jamstah

Description

@Jamstah

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

admin/ui

Describe the bug

If a user has view-realm permission they can see the realm roles. If they go to realm roles and select the default-roles entry, they get a network error instead of a permissions error. After the error, the console is completely unresponsive and the window must be refreshed.

Network response was not OK.

image

Version

quay.io/keycloak/keycloak:latest

Regression

  • The issue is a regression

Expected behavior

Permissions error should be shown

Actual behavior

Network error shown and admin console unresponsive.

How to Reproduce?

  1. Create a realm
  2. Create a user in the realm with view-realm permissions
  3. Log in as that user
  4. Go to Realm Roles
  5. Attempt to view the default-roles- item

Anything else?

Same thing happens going to Realm Settings -> User registration with the same permissions.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions