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

Can not add or remove groups when updating a group resource type permission [GHI#38712]

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

      admin/fine-grained-permissions

      Describe the bug

      When updating a group resource type permission and trying to add or remove a group from the list of resources, clicking on Save will fail.

      The reason is that the UI is sending the whole group representation in the {{resources }} field of the permission representation. Instead, it should only send the group ids.

      Version

      999.0.0-SNAPSHOT

      Regression

      [ ] The issue is a regression

      Expected behavior

      Successfully update a group resource type permission when adding or removing groups

      Actual behavior

      Not able to update a group resource type permission when adding or removing groups

      How to Reproduce?

      • Create a group resource type permission for a set of two or more groups
      • Select the previously created permission to update it
      • Try to add or remove groups from the list of groups/resources associated with the permission
      • Click Save

      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: