Bug 1811275

Summary: Topology Visualization is not viewable for view only users.
Product: OpenShift Container Platform Reporter: cvogt
Component: Dev ConsoleAssignee: Jeff Phillips <jephilli>
Status: CLOSED ERRATA QA Contact: spathak <spathak>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.4CC: aos-bugs, jephilli, nmukherj, rgarg, spathak
Target Milestone: ---   
Target Release: 4.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: 1811185 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-05-04 11:45:36 UTC Type: ---
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: 1811185    
Bug Blocks:    
Attachments:
Description Flags
Topology Visualization is not viewable for view only users.
none
Topology Visualization is empty for view only users.
none
Topology Visualization is viewable for view only users. none

Description cvogt 2020-03-07 04:22:18 UTC
+++ This bug was initially created as a clone of Bug #1811185 +++

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 spathak@redhat.com 2020-03-08 16:07:41 UTC
Unable to verify, still able to reproduce it on build 4.4.0-0.ci-2020-03-08-110938

Comment 4 spathak@redhat.com 2020-03-08 16:08:23 UTC
Created attachment 1668450 [details]
Topology Visualization is not viewable for view only users.

Comment 5 spathak@redhat.com 2020-03-08 16:16:13 UTC
Added the screenshot with the issue

Comment 6 spathak@redhat.com 2020-03-08 23:13:28 UTC
Created attachment 1668489 [details]
Topology Visualization is empty for view only users.

Comment 7 spathak@redhat.com 2020-03-08 23:17:43 UTC
Verified on build: 4.4.0-0.ci-2020-03-08-144605
Chrome browser: 76.0.3809.132

Comment 8 spathak@redhat.com 2020-03-09 12:25:04 UTC
Created attachment 1668654 [details]
Topology Visualization is viewable for view only users.

Comment 10 errata-xmlrpc 2020-05-04 11:45:36 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:0581