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

Users who can't list CatalogSources also can't initiate operator upgrades from the Subscription tab of the CSV details page

    XMLWordPrintable

Details

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

      None

      Show
      None

    Description

      Description of problem:

      We currently do some frontend logic to list and search CatalogSources for the source associated with the CSV and Subscription on the CSV details page. If we can't find the CatalogSource, we show an error message and prevent updates from the Subscription tab. 

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

      4.14

      How reproducible:

      Always

      Steps to Reproduce:

      1. Create an htpasswd idp with any user
      2. Create a project admin role binding for this user
      3. Install an operator in the namespace where the user has project admin permissions
      4. Visit the CSV details page while logged in as the project admin user
      5. View the subscriptions tab

      Actual results:

      An alert is shown indicating the the CatalogSource is missing, and the updates to the operator are prevented.

      Expected results:

      If the Subscription shows the catalog source as healthy in its status stanza, we shouldn't show an alert or prevent updates.

      Additional info:

      Reproducing this bug is dependent on the fix for OCPBUGS-3036 which prevents project admin users from viewing the Subscription tab at all. 

       

      Attachments

        Issue Links

          Activity

            People

              rh-ee-jonjacks Jon Jackson
              rh-ee-jonjacks Jon Jackson
              Xiyun Zhao Xiyun Zhao
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: