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

[Cluster details] "Access requests" tab wrongly shown for OSD clusters.

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • Core UI
    • False
    • Hide

      None

      Show
      None
    • False

      Description of problem:
      The "Access requests" tab wrongly shown for an OSD cluster. As per the new requirement , this is enabled for ROSA classic, ROSA hosted. Hence we should disable the "Access requests" tab from OSD clusters.

      Refer the screenshot below

      Steps to Reproduce:

      1. Enable the access protection feature capability for your ocm org id.
        ex: 
      ocm get /api/accounts_mgmt/v1/organizations/<orgid>/labels/capability.cluster.enable_access_protection
      {
        "created_at": "2024-06-19T17:23:25.239208Z",
        "href": "/api/accounts_mgmt/v1/organizations/1TBZNa7kLQTshFFKjV2AVpY4Vjm/labels/capability.cluster.enable_access_protection",
        "id": "2i6jDzx5mefUOOKMacXrSbvsMRL",
        "internal": true,
        "key": "capability.cluster.enable_access_protection",
        "kind": "Label",
        "managed_by": "Config",
        "organization_id": "<orgid>",
        "updated_at": "2024-06-19T17:23:25.239208Z",
        "value": "true"
      }
       
      1. Open OCM UI staging.
      2. Open a  ready OSD (tried with nonccs) cluster.
      3. See the different tabs in cluster details page.

      Actual results:

      OSD cluster shown the tab "Access requests" although it doesn't support the feature now.

      Expected results:

      Do not show the "Access requests" tabs for OSD, OCP or any other non supported cluster types in OCM UI cluster details page.

              emingora Enrique Mingorance Cano
              jmekkatt@redhat.com Jayakrishnan Mekkattillam
              Jayakrishnan Mekkattillam Jayakrishnan Mekkattillam
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: