Bug 1875193

Summary: Normal user can not see menus added via ConsoleLinks
Product: OpenShift Container Platform Reporter: Yadan Pei <yapei>
Component: Management ConsoleAssignee: Samuel Padgett <spadgett>
Status: CLOSED ERRATA QA Contact: Yadan Pei <yapei>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.6CC: aos-bugs, jhadvig, jokerman, rhamilto, yapei
Target Milestone: ---Keywords: UpcomingSprint
Target Release: 4.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-10-27 16:37:14 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:
Attachments:
Description Flags
Normal User View HelpMenu console links
none
Normal User View UserMenu console links
none
Normal User View ApplicationMenu console links none

Description Yadan Pei 2020-09-03 01:21:52 UTC
Description of problem:
as title

Version-Release number of selected component (if applicable):
4.6.0-0.nightly-2020-09-01-070508

How reproducible:
Always

Steps to Reproduce:
1. cluster admin user create some consolelinks
$ cat testdata/customresource/console-link.yaml 
apiVersion: console.openshift.io/v1
kind: ConsoleLink
metadata:
  name: usermenu1
spec:
  href: https://www.youtube.com
  location: UserMenu
  text: usermenutest

---
apiVersion: console.openshift.io/v1
kind: ConsoleLink
metadata:
  name: helpmenu1
spec:
  href: https://baidu.com
  location: HelpMenu
  text: Baidu

---
apiVersion: console.openshift.io/v1
kind: ConsoleLink
metadata:
  name: applicationmenu1
spec:
  applicationMenu:
    imageURL: https://cdn.sstatic.net/Sites/stackoverflow/company/img/logos/so/so-logo.svg?v=a010291124bf
    section: stackoverflow.com
  href:  https://stackoverflow.com
  location: ApplicationMenu
  text: stackoverflow
$ oc create -f console-link.yaml
2. normal user logins to console and visit Help Menu and User Menu

Actual results:
2. The added consolelink doesn't appear in Help Menu or User Menu

Expected results:
2. Normal user should be able to view the ConsoleLinks added by cluster admin

Additional info:

Comment 3 Yadan Pei 2020-09-14 02:42:31 UTC
Created attachment 1714712 [details]
Normal User View HelpMenu console links

Comment 4 Yadan Pei 2020-09-14 02:43:17 UTC
Created attachment 1714713 [details]
Normal User View UserMenu console links

Comment 5 Yadan Pei 2020-09-14 02:43:48 UTC
Created attachment 1714714 [details]
Normal User View ApplicationMenu console links

Comment 6 Yadan Pei 2020-09-14 02:45:15 UTC
Create ConsoleLinks with different location, normal user can view these links now.


Verified on 4.6.0-0.nightly-2020-09-12-230035

Comment 9 errata-xmlrpc 2020-10-27 16:37:14 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 (OpenShift Container Platform 4.6 GA Images), 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:4196