+
Skip to content

"Remove role" alert text is wrong #36172

@SebastEnn

Description

@SebastEnn

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

When removing a role from a user or group, this message appears:
grafik

This doesn't make sense. It shoud be "Role(s) successfully removed" or at least "Role mapping updated" (which is used when adding one or more roles).

Version

26.0.7

Regression

  • The issue is a regression

Expected behavior

The text should fit to the action.

Actual behavior

The text doesn't make sense.

How to Reproduce?

  • Get a Keycloak instance
  • Create a group
  • Add a role to the group
  • Remove that role from the group
  • Notice the text of the confirmation message being wrong

Anything else?

The following lines need to be changed to fix this issue:

addAlert(t("clientScopeRemoveSuccess"), AlertVariant.success);

addError("clientScopeRemoveError", error);

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

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