Uploaded image for project: 'Hybrid Cloud Console'
  1. Hybrid Cloud Console
  2. RHCLOUD-32057

RBAC | Updates to Compound Table Views for Users and Roles

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False
    • Unset
    • No

      Follow up to https://issues.redhat.com/browse/RHCLOUD-28712 and https://issues.redhat.com/browse/RHCLOUD-31826

      See description and comments in Github here: https://github.com/RedHatInsights/insights-rbac-ui/pull/1615#pullrequestreview-1996293513

      We recently added some updates to the role compound table views to display a link to add roles quickly to a group. I think we can improve the logic with a few strategic tweaks to what we've added already:

      Acceptance criteria:

      1. Cache the newly added admin group request instead of requesting it every time we load the roles page (we only need the ID and it doesn't change often)
      2. Move the call to request it sooner in the page loading and stop the UI from rendering any further (since the admin group ID is needed to make comparisons to the group IDs).

       

      Nice to haves:

      1. It seems like Redux may be a bit overkill for storing just an ID for an admin group. We could consider using something like Jotai{}

            Unassigned Unassigned
            bflorkie@redhat.com Bryan Florkiewicz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: