Uploaded image for project: 'OpenShift Console'
  1. OpenShift Console
  2. CONSOLE-5061

Add Resource Names column to Role Rules table

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Undefined Undefined
    • openshift-4.22
    • None
    • None
    • None
    • None
    • OCP Console - Sprint 283

      As a cluster administrator or user managing RBAC permissions, I need to see the resourceNames field in the Role/ClusterRole Rules table so that I can understand which specific named resources a rule applies to. Currently, the Rules table in the RBAC role details page displays only:

      • Actions (Verbs)
      • API Groups
      • Resources

      However, Kubernetes RBAC policy rules support a resourceNames field that restricts the rule to specific named resources (e.g., specific ConfigMaps, Secrets, or Pods by name). This information is not currently visible in the UI, making it difficult to understand the full scope of permissions granted by a rule.

       

      AC:

      • Add additional column to the Rules table.
        • If `resourceNames` is undefined, null, or empty array → Display nothing
        • If `resourceNames` contains specific names → Display each name
      • Rename the 'Actions' column header into 'Verbs'
      • Update the e2e test to test the new column

              rh-ee-kragarwa Krish Agarwal
              jhadvig@redhat.com Jakub Hadvig
              None
              None
              None
              None
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: