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

[ROSA lockbox] Avoid showing decision reason on approved access request details section.

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

      None

      Show
      None
    • False
    • OCMUI Core Sprint 255

      Description of problem:

      Approved access request decision part included  reason as N/A. This is not required as user has no option to provide justification reason during approval cycle. Hence it would be good to  avoid the part i.e. "because : N/A" from the dialog to avoid future confusion.

      How reproducible:
      Always

      Steps to Reproduce:

      1. Launch OCM UI staging.
      2. Create Access request for a ROSA cluster.
      3. Go to Cluster details > Access requests tab.
      4. Select and open the pending access request and approve it.
      5. Reopen approved request and see the decision definition in the dialog.

      Actual results:

      Decision section shown the  reason as "because :N/A" and it doesn't make any sense as the user approved without any reason provided in UI.

      Expected results:

      Avoid showing the reason in decision definition string i.e. remove "because :N/A" part from the definition.

        1. image-2024-06-27-12-04-08-884.png
          52 kB
          Jayakrishnan Mekkattillam
        2. image-2024-06-28-15-23-25-652.png
          68 kB
          Jayakrishnan Mekkattillam
        3. image-2024-06-28-15-24-48-336.png
          52 kB
          Jayakrishnan Mekkattillam

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

                Created:
                Updated:
                Resolved: