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

RBAC UI - Changing from project to cluster scope still remembers previously selected namespaces

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • ACM 2.16.0
    • None
    • Console
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • False
    • ACM Console Train 36 - 2
    • Moderate
    • None

      slack thread https://redhat-internal.slack.com/archives/C049M2XDJBZ/p1769126673681289

      Description of problem:

      When you create a role assignment, select clusters, and define granularity, if you choose Project role assignment and select namespaces, these namespaces will be remembered even if you change from Project role assignment to Cluster role assignment. This seems not right, I would think that when changing from Project role assignment to Cluster role assignment, it would clear the selected namespaces automatically. It also does a similar thing in editing a role assignment. So if you edit a role assignment and try to change from Project to Cluster scope, the review page will still show the previously selected namespaces unless you manually de-select them.

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

      How reproducible: always

      Steps to Reproduce:

      1. Create role assignment
      2. Choose project role assignment and select namespaces
      3. Change scope to cluster role assignment
      4. Go to review page, namespaces are still showing (still project scoped)

      You can also do a similar thing on editing an existing role assignment:

      1. Edit existing project scope role assignment
      2. Change from project to cluster scope
      3. Go to review page; still shows previous namespaces

      Actual results:

      Review pages still show previously selected namespaces.

      Expected results:

      When changing from project to cluster scope, review page should not remember previously selected namespaces.

      Additional info:

              rh-ee-obazylie Oksana Bazylieva
              rh-ee-mshort Matthew Short
              David Huynh David Huynh
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: