Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-13142

InstallPlan info cannot shown on Subscription tab for the user who has project admin permission

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Normal Normal
    • 4.14.0
    • 4.14
    • Management Console
    • None
    • No
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      After the changes of OCPBUGS-3036 and OCPBUGS-11596, the user who has project admin permision would be able to check all the subscription information on the operaotor details page. But currently the installPlan infromation will shown "None" in the page wich is incorrect

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

      4.14.0-0.nightly-2023-05-03-163151

      How reproducible:

      Always 

      Steps to Reproduce:

      1. Configure IDP. add a user
      2. Install any operator in specific namespace 
      3. Assign project admin permission to the user for the same namespace
         $ oc adm policy add-role-to-user admin <username> -n <projectname>
      4. Check user have enough permission to check installplan via CLI
         $ oc get clusterrole admin -o yaml | grep -C10 installplan
           - apiGroups:
             - operators.coreos.com
             resources:
             - clusterserviceversions
             - catalogsources
             - installplans
             - subscriptions
             verbs:
             - delete
           - apiGroups:
             - operators.coreos.com
             resources:
             - clusterserviceversions
             - catalogsources
             - installplans
             - subscriptions
             - operatorgroups
             verbs:
             - get
             - list
             - watch
      4. Login OCP with the user, and go to InstallPlan page, user is able to check the InstallPlan list without any error
         /k8s/ns/<projectname>/operators.coreos.com~v1alpha1~InstallPlan
      5. Navigate to OperatorDetails -> Subscription Tab, check if the 'InstallPlan' name could be shown on page
      

      Actual results:

      Only 'None' is shown on the InstallPlan section 

      Expected results:

      The installplan name can be shown on the subsctiption page 

      Additional info:

       

              rh-ee-gvudinh Giao Vu Dinh (Inactive)
              rhn-support-xiyuzhao Xiyun Zhao
              Xiyun Zhao Xiyun Zhao
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: