Uploaded image for project: 'Red Hat build of Keycloak'
  1. Red Hat build of Keycloak
  2. RHBK-2581

Edit Help Mode descriptor for Roles in policy form [GHI#35273]

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False

      Before reporting an issue

      [X] 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

      authorization-services

      Describe the bug

      In the Role-based policy creation form, when you hover of the helper (?) icon next to Roles, you just get policyRolesHelp

      Should be a description like:
      Click on 'Add roles' to include accepted roles for this policy. Checking off the 'required field' checkbox on a role indicates that that selected role MUST be present while evaluating policy, regardless of other roles. Leaving all relevant roles for the policy unchecked likes the equivalent of setting a decision strategy of 'Affirmative'

      https://github.com/keycloak/keycloak/blob/0eb0281bf222d7781dbf2bdc084a4f73f06c8bc7/js/apps/admin-ui/src/clients/authorization/policy/Role.tsx#L64

      Version

      quay.io/keycloak/keycloak:latest

      Regression

      [ ] The issue is a regression

      Expected behavior

      Better descriptor for that helper dialog

      Actual behavior

      https://github.com/keycloak/keycloak/blob/0eb0281bf222d7781dbf2bdc084a4f73f06c8bc7/js/apps/admin-ui/src/clients/authorization/policy/Role.tsx#L64

      How to Reproduce?

      ```Docker

      docker run -p 8080:8080 -e KC_BOOTSTRAP_ADMIN_USERNAME=admin -e KC_BOOTSTRAP_ADMIN_PASSWORD=admin quay.io/keycloak/keycloak:26.0.6 start-dev
      ```

      create a fake client, then in that client, click on authorization > policy > role-based > click on ? next to Roles

      Anything else?

      No response

              Unassigned Unassigned
              pvlha Pavel Vlha
              Keycloak UI
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: