Bug 2003845

Summary: Project admin cannot access image vulnerabilities view
Product: OpenShift Container Platform Reporter: Gerald Nunn <gnunn>
Component: Management ConsoleAssignee: Joe Caiani <jcaiani>
Status: CLOSED ERRATA QA Contact: Siva Reddy <schituku>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.8CC: aos-bugs, spadgett, yapei
Target Milestone: ---   
Target Release: 4.10.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2051523 (view as bug list) Environment:
Last Closed: 2022-03-10 16:10:01 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: 2051523    
Attachments:
Description Flags
Accessing image vulnerabilities from admin console fails
none
ImageVul none

Description Gerald Nunn 2021-09-13 22:14:49 UTC
Created attachment 1822867 [details]
Accessing image vulnerabilities from admin console fails

Description of problem:

Unlike a cluster admin, a project admin cannot view Image Vulnerabilities from the Container Security Operator (CSO) in the admin console. This is because the Image Vulnerability view appears to be scoped cluster wide and a project admin does not have the necessary rights.

Unfortunately when the error occurs the project does not get the opportunity to select a project from the project drop down as it is not available.

If the project admin uses the Developer console and acceses the ManifestImageVuln type from Search it works fine.

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


How reproducible:


Steps to Reproduce:
1. Login as project admin not cluster admin
2. Access Image Vulnerabilities in console
3. Error occurs as per attached screen shot.

Actual results:


Expected results:


Additional info:

Comment 3 Siva Reddy 2021-10-29 05:40:39 UTC
Created attachment 1838194 [details]
ImageVul


ClusterVersion:
 4.10.0-0.nightly-2021-10-28-150422

Steps to Verify:
1. Login as project admin not cluster admin
2. Access Image Vulnerabilities in console
   
  now there is no error. attached screenshot

Comment 7 errata-xmlrpc 2022-03-10 16:10:01 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 (Moderate: OpenShift Container Platform 4.10.3 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:0056