-
Bug
-
Resolution: Unresolved
-
Normal
-
None
-
4.7
-
Moderate
-
Unspecified
-
If docs needed, set a value
This bug was initially created as a copy of Bug #2006067
I am copying this bug because:
I am doing a manual backport to 4.9. The automated backport failed due to JSON file conflicts.
Description of problem:
Users being shown React error when trying to perform action in OpenShift UI
Version-Release number of selected component (if applicable):
4.7.22
How reproducible:
100%
Steps to Reproduce:
1. Create a role without the ability to "update" InstallPlans, but with the other verbs like get and patch.
2. Try to approve an installplan in the UI
Actual results:
Objects are not valid as a React child (found: Error: installplans.operators.coreos.com "install-sgxdf" is forbidden: User "w77378" cannot update resource "installplans" in API group "operators.coreos.com" in the namespace "developer-monitoring"). If you meant to render a collection of children, use an array instead.
Expected results:
OpenShift UI handles error and displays message in the UI.
Additional info: