+
Skip to content

The create new user page requires the admin user to be given the "Manage-Realm" role in order to see the user profile attributes in the create new user page #19093

@JSCorpo

Description

@JSCorpo

Before reporting an issue

  • I have searched existing issues
  • I have reproduced the issue with the latest release

Area

account/api

Describe the bug

The create new user page requires the admin user to be given the "Manage-Realm" role in order to see the user profile attributes in the create new user page

The user profile in realm setting is enabled.
User Profile Enabled

A new profile attribute has been created and enabled.
User Profile attribute created

The Create user page does not display the user profile attributes unless the admin user has been assign the "Manage-realm" role
Create User without User Profile attributes

Create User with User Profile attributes

Version

21.0.1

Expected behavior

The create new user page should display the user profile attributes once the user profile setting is enabled for the realm without the need to assign "Manage-Realm" role to the admin user.

Actual behavior

The create new user page requires the admin user to be given the "Manage-Realm" role in order to see the user profile attributes in the create new user page

How to Reproduce?

  1. Start Keycloak with user profile enabled (--features=preview)
  2. Create new realm
  3. Enable user profile
  4. Create new user profile attribute
  5. Create new admin user with the following roles (Query-Users, Query-Groups, Manage-Users)
  6. Click on Create new user

Anything else?

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

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