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

[Data sovereignty]Wrong success message shown from support tab when unauthorized user tried to delete the notification contact.

    • ACM Console Sprint 257

      Description of problem:

      In support tab of cluster shown a wrong success message indication when an unauthorized user tries to delete the notification contact. The notification contact was not removed and return the error on the page.

      See the recordings NotificationContactLabels.mp4

       

      How reproducible:
      Always

      Steps to Reproduce:

      1. Launch OCM UI staging and login as a org member user (Machine pool editor: user does have read only access to all clusters belongs to his/her OCM org except machine pool section).
      2. Enable the multiregion option (https://console.dev.redhat.com/openshift/?multiregion=true)
      3. Open a cluster.
      4. Go to Support tab (Make sure cluster has configured with a notification contact by its owner).
      5. Select a notification contact's context menu and click "delete" option.
      6. See the behavior.

      Actual results:

      Wrong success label/message shown from supporting tab that indicated notification contact has deleted. But in the reality , the notification contact delete action failed with an error due to permission issue.

      Expected results:

      Do not show the success label/message when unauthorized user tries to delete the notification contact 

            rh-ee-daznauro David Aznaurov
            jmekkatt@redhat.com Jayakrishnan Mekkattillam
            Jayakrishnan Mekkattillam Jayakrishnan Mekkattillam
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: