Uploaded image for project: 'OpenShift Dev Console'
  1. OpenShift Dev Console
  2. ODC-6241

OCS Quick Start should not be shown unless you have proper privileges

    XMLWordPrintable

Details

    • False
    • False
    • 0
    • undefined
    • Not Supported
    • Medium

    Description

      Description of problem:

      Currently you always see the OCS operator install

      Prerequisites (if any, like setup, operators/versions):

      Steps to Reproduce

      1. Log into Openshift Console as a user who cannot install operators (as developer or on Dev Sandbox or create your own user)
      2. Access Quick Starts through the Help icon in the top banner
      3. Search for storage ...

      Actual results:

      This quick start should only be available if you can install operators.

      Expected results:

      This quick start should not be available on DevSandbox or when logged in as non priv user on another cluster

      Reproducibility (Always/Intermittent/Only Once):

      Always

      Build Details:

      Additional info:

      The quick start (console-operator/quickstarts/install-serverless.yaml) is missing this in the spec section:

      accessReviewResources:

      • group: operators.coreos.com
        resource: operatorgroups
        verb: list
      • group: packages.operators.coreos.com
        resource: packagemanifests
        verb: list

      (note that the above was taken from the Serverless Install QS which works properly)

      Attachments

        Issue Links

          Activity

            People

              yvakil@redhat.com Yohaan Vakil (Inactive)
              sdoyle@redhat.com Serena Nichols
              Sanket Pathak Sanket Pathak
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: