Bug 1843599

Summary: command line terminal stuck loading for user with access to multiple namespaces
Product: OpenShift Container Platform Reporter: cvogt
Component: Dev ConsoleAssignee: cvogt
Status: CLOSED ERRATA QA Contact: Gajanan More <gamore>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.5CC: aos-bugs, nmukherj, spathak
Target Milestone: ---   
Target Release: 4.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-10-27 16:04:47 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: 1843661    
Attachments:
Description Flags
command line terminal doesn't stuck loading for user with access to multiple namespaces none

Description cvogt 2020-06-03 16:01:43 UTC
Description of problem:
If a user has multiple projects and they do not have cluster scope access to list projects, the command line terminal drawer shows a loading indicator.


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


How reproducible:


Steps to Reproduce:
1. Install the che-workspace-operator:

git clone https://github.com/che-incubator/che-workspace-operator
export WEBHOOK_ENABLED=true
export REGISTRY_ENABLED=false
make deploy

2. Login as a self-provisioner user
3. Create 2 namespaces
4. Click the command line terminal button in the masthead

Actual results:
Terminal drawer opens and shows a loading indicator.

Expected results:
Terminal drawer opens and after a second the loading indicator should disappear and show a form for the user to select a namespace to create the Workspace in.

Comment 1 cvogt 2020-06-03 16:44:19 UTC
High severity because a new high visibility feature will not be accessible for a typical user.

Comment 5 spathak@redhat.com 2020-06-07 18:44:34 UTC
Created attachment 1695896 [details]
command line terminal doesn't stuck loading for user with access to multiple namespaces

Comment 6 spathak@redhat.com 2020-06-07 18:47:03 UTC
Verified on build version: 4.5.0-0.nightly-2020-06-06-160933
Browser version: Chrome 76

Comment 8 errata-xmlrpc 2020-10-27 16:04:47 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