Uploaded image for project: 'Red Hat Advanced Cluster Management'
  1. Red Hat Advanced Cluster Management
  2. ACM-24910

RBAC UI - Multi-selecting users during role assignment only creates one role assignment in some situations

XMLWordPrintable

    • VMMgmt - Train-33 - Sprint 1
    • Critical
    • None

      Description of problem:

      In some situations, when creating role assignments, if you select multiple subjects, it will only create one role assignment. This is because the PATCH requests sent by frontend are only for a single user (the last user in the list alphabetically)

      Version-Release number of selected component (if applicable):

      How reproducible:

      Every time

      Steps to Reproduce:

      1. Delete all existing MulticlusterRoleAssignments
      2. Create 9 role assignments at once in role assignment creation modal from any role context (select all 9 users at once)
      3. Should complete successfully and show 9 role assignments.
      4. Go to a different role view and create 9 role assignments at once in role assignment creation modal (select all 9 users at once)
      5. Should only create 1 role assignment
      6. View chrome network tab while doing it to see that all PATCH requests target the same user, which is not correct

      Actual results:

      Creates 1 role assignment

      Expected results:

      Should create 9 role assignments because we selected 9 users.

      Additional info:

              yikim@redhat.com Yi Rae Kim
              rh-ee-mshort Matthew Short
              Atif Shafi Atif Shafi
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: