Bug 1811185

Summary: Topology Visualization is not viewable for view only users.
Product: OpenShift Container Platform Reporter: Jeff Phillips <jephilli>
Component: Dev ConsoleAssignee: Jeff Phillips <jephilli>
Status: CLOSED ERRATA QA Contact: Ruchir Garg <rgarg>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.4CC: aos-bugs, kjeeyar, nmukherj
Target Milestone: ---   
Target Release: 4.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of:
: 1811275 (view as bug list) Environment:
Version: 4.5.0-0.ci-2020-03-06-100746 Cluster ID: 539a5e69-44c1-4c62-bea1-a416d6fb35fc Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36
Last Closed: 2020-07-13 17:18:56 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: 1811275    

Description Jeff Phillips 2020-03-06 19:07:33 UTC
Description of problem:

For the users with the view only permission is not able to view the topology Visualization due to fetching of secrets which is not allowed for a `view` cluster role.

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


How reproducible:


Steps to Reproduce:
1. Create a user with `view` only cluster role
2. Visit Topology page

Actual results:

Instead of showing visualization, the topology page shows the restricted access error.


Expected results:

If the user have view only permission clusterwide or in a particular namespace, then they must see the visualization while visiting topology page.


Additional info:

Comment 3 Karthik Jeeyar 2020-03-09 14:55:22 UTC
Able to see the topology visualization with limited view permissions. Verified on
Build number : 4.5.0-0.ci-2020-03-09-035935
Cluster Url :https://console-openshift-console.apps.sp89.devcluster.openshift.com/topology/ns/jeff-project/graph
Browsers : chrome Version 79 , firefox - 66.0.2
Verified as : kubeadmin and test (only view access)

Comment 5 errata-xmlrpc 2020-07-13 17:18:56 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, 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/RHBA-2020:2409