Bug 1601335 - [converged] Should display Cluster-wide Roles and System Roles for normal user without any project
Summary: [converged] Should display Cluster-wide Roles and System Roles for normal use...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console
Version: 3.11.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 3.11.0
Assignee: Jon Jackson
QA Contact: Yadan Pei
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-07-16 06:41 UTC by XiaochuanWang
Modified: 2018-10-11 07:22 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-10-11 07:21:41 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
clusterroles are missing, only display number (38.65 KB, image/png)
2018-07-16 06:41 UTC, XiaochuanWang
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:2652 0 None None None 2018-10-11 07:22:03 UTC

Description XiaochuanWang 2018-07-16 06:41:11 UTC
Created attachment 1459056 [details]
clusterroles are missing, only display number

Description of problem:
Normal user login and browse to Role page, check number of Cluster-wide Roles, Namespace Roles and System Roles and their content. Page should display the Cluster-wide Roles and System Roles

Version-Release number of selected component (if applicable):
docker.io/openshift/origin-console:latest              fb4295d1e2f7 

How reproducible:
Always

Steps to Reproduce:
1. Normal user login with no project, browse to Role page
2. Check number of different groups of roles and content
3. oc get clusterroles

Actual results:
2. Page shows number of roles but hide all roles from different group of roles including clusterrole. (Please see the screenshot)
3. User can get clusterroles totally 136

Expected results:
2. Page should display Cluster-wide Roles and System Roles well, page should also display error message for user getting roles under "default
 project at the same time.

Additional info:
After user created project, the cluterroles could be listed well.

Comment 1 Jon Jackson 2018-07-17 18:18:07 UTC
Pending PR for fix: https://github.com/openshift/console/pull/260

Comment 2 XiaochuanWang 2018-07-27 03:13:46 UTC
Verified on v3.11.0-0.9.0
Image Id: 
registry.reg-aws.openshift.com:443/openshift3/ose-console                   v3.11               e03103f86278f

Comment 4 errata-xmlrpc 2018-10-11 07:21:41 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-2018:2652


Note You need to log in before you can comment on or make changes to this bug.