-
Bug
-
Resolution: Done
-
Undefined
-
None
-
4.10
-
Low
-
None
-
All
-
If docs needed, set a value
Description of problem:
When encountering a missing permission problem (e.g. when accessing https://console-openshift-console.apps.cnv.****.redhat.com/add/ns/openshift-virtualization-os-images ) without the proper permissions, the console crashes and a white screen appears. The browser developer console logs several errors similar to the following: (See the attached error log for full details.)
consoleFetch failed for url /api/kubernetes/apis/ceph.rook.io/v1/namespaces/openshift-storage/cephclusters? a: cephclusters.ceph.rook.io is forbidden: User "*****" cannot list resource "cephclusters" in API group "ceph.rook.io" in the namespace "openshift-storage"
Version-Release number of selected component (if applicable):
4.10
How reproducible:
Always
Steps to Reproduce:
1. Open the console in developer mode without the appropriate permissions
2. Click on "Add"
3. Click on the project without the right permissions.
Actual results:
White screen.
Expected results:
An error message explaining that I don't have permissions.