Bug 2048541

Summary: incorrect rbac check for install operator quick starts
Product: OpenShift Container Platform Reporter: Debsmita Santra <dsantra>
Component: Dev ConsoleAssignee: Debsmita Santra <dsantra>
Status: CLOSED ERRATA QA Contact: spathak <spathak>
Severity: medium Docs Contact:
Priority: low    
Version: 4.10CC: msaud, nmukherj
Target Milestone: ---   
Target Release: 4.11.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-08-10 10:45:53 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2054535    

Description Debsmita Santra 2022-01-31 13:23:25 UTC
Description of problem:
There are several `install operator` quick starts present in the console/operator github: https://github.com/openshift/console-operator/tree/master/quickstarts

The current checks look like:

accessReviewResources:
  - group: operators.coreos.com
    resource: operatorgroups
    verb: list
  - group: packages.operators.coreos.com
    resource: packagemanifests
    verb: list
The checks also include the ability to create a Subscription.


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


How reproducible:


Steps to Reproduce:
1. Login as non kubeadmin user
2. Click on help `?` on the top-right
3. Select quick starts

Actual results:
Users without the ability to install an operator can see the install quick starts.

Expected results:
only admins with the access to install an operator should see the `install-serverless` quick star and other quick starts like it


Additional info:

Comment 3 Mohammed Saud 2022-02-17 12:18:55 UTC
Verified on:
Build:   4.11.0-0.nightly-2022-02-16-131355
Browser: Firefox 97

Comment 6 errata-xmlrpc 2022-08-10 10:45:53 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Important: OpenShift Container Platform 4.11.0 bug fix and security update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2022:5069