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

User without permissions is able to open cluster wide proxy settings

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Normal Normal
    • None
    • None
    • Core UI
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • False
    • OCMUI Core Sprint 271

      Description of the Problem

      Day2 operations. Non-org admin user, without permissions is able to open 1x cluster wide proxy settings edit window

       

      Steps to Reproduce

      1. Create ROSA Classic cluster with cluster wide proxy
      2. Cluster installed successfully
      3. Create non-org admin member user in you organization or use some existing
      4. But be still logged as org-admin of your org
      5. Go to the cluster details page
      6. Go to the Access control tab
      7. Click on OCM Roles and Access
      8. Click on Grant role
      9. Fill up Red Hat login filed with username of your non-org admin member user which you have created earlier
      10. Choose Role Cluster viewer and click on Grant Role
      11. User is added and displayed under OCM Roles and Access
      12. Logout from OCM from you org-admin account
      13. Login into OCM as non-rg admin member user which you have created earlier
      14. Search for your ROSA Classic cluster
      15. Go to the details
      16. Go to the Networking tab
      17. Scroll down and see if "Edit cluster wide proxy" button is enabled or disabled
      18. If it's enabled, that's already wrong
      19. But try to click on this button if edit window will open
      20. If yes, then close window
      21. See if button became disabled. It should

       

      Actual Results:

      "Edit cluster wide proxy" button is not disabled. It's enabled and it's possible for user to open 1x window for editing cluster wide proxy

       

      Expected results:

      User shouldn't have enabled button and shouldn't be able to click on it and open window for editing cluster wide proxy on that cluster

       

              emalka@redhat.com Lyn M
              apecha-csqe Aleš Pecha
              Aleš Pecha Aleš Pecha
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: