Uploaded image for project: 'OpenShift Virtualization'
  1. OpenShift Virtualization
  2. CNV-41989

Given an alert when user don't have permission to see CNV version in settings

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Normal Normal
    • None
    • None
    • CNV User Interface
    • None
    • 0.42
    • False
    • Hide

      None

      Show
      None
    • False
    • None
    • No
    • ---
    • ---
    • Medium

      Description of problem:

      Given an alert when user don't have permission to see CNV version in settings
      

      Version-Release number of selected component (if applicable):

      
      

      How reproducible:

      
      

      Steps to Reproduce:

      1. Login a user who may lack permissions to subscription
      # oc get subscription hco-operatorhub -n openshift-cnv
      Error from server (Forbidden): subscriptions.apps.open-cluster-management.io "hco-operatorhub" is forbidden: User "gouyang@redhat.com" cannot get resource "subscriptions" in API group "apps.open-cluster-management.io" in the namespace "openshift-cnv"
      2.
      3.
      

      Actual results:

      the user cannot see the CNV version in settings
      

      Expected results:

      it shows an alert to inform user what's wrong
      

      Additional info:

      
      

            aturgema Aviv Turgeman
            gouyang1@redhat.com Guohua Ouyang
            Guohua Ouyang Guohua Ouyang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: