Uploaded image for project: 'OCMUI - OpenShift Cluster Manager UI'
  1. OCMUI - OpenShift Cluster Manager UI
  2. OCMUI-1942

[OCM UI] Lockbox: access requests shown in cluster list to not interested users

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • OCMUI Core Sprint 255

      Description of problem:

      User not being admin can see in cluster list page all the access requests made for his organitazion clusters, including the ones for clusters which not owned by himself. As the access requests not made for the user's clusters can not be managed by him (he can't approve or deny any of them), probably from UX point of view it doesn't make sense to show them in his cluster list page.

      How reproducible:

      Always

      Steps to Reproduce:

      1. Create an access request for a cluster
      2. Open OCM UI staging wth a non admin user who is not the owner of the above cluster
      3. Verify his organization has the capability "capability.cluster.enable_access_protection" enabled
      4. Go to cluster list page
      5. Observe the presence of warning message

      Actual results:

      At step 5 you can observe a warning message related to the presence of access requests for organization clusters including access requests for clusters not owned by the current user

      Expected results:

      At step 5 the warning message, if shown, it should list only access request for user's owned clusters

            emingora Enrique Mingorance Cno
            rhn-support-vgrazian Vitor Graziano (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: