Bug 1871996 - Role bindings links aren't namespaced correctly
Summary: Role bindings links aren't namespaced correctly
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console
Version: 4.5
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: 4.6.0
Assignee: ralpert
QA Contact: Yadan Pei
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-08-24 19:55 UTC by ralpert
Modified: 2020-10-27 16:31 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Cause: Create role binding links were inconsistently namespaced or using cluster links. Consequence: The create role binding page was incorrect. Fix: Updated links to use namespace (where available) and cluster otherwise. Result: Correct page is used.
Clone Of:
Environment:
Last Closed: 2020-10-27 16:31:54 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Verification screenshot (40.50 KB, image/png)
2020-08-31 06:01 UTC, XiaochuanWang
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 6035 0 None closed Bug 1871996: Made create role bindings links consistent 2021-02-15 16:41:57 UTC
Red Hat Product Errata RHBA-2020:4196 0 None None None 2020-10-27 16:31:56 UTC

Description ralpert 2020-08-24 19:55:37 UTC
Description of problem:
Create role binding links are inconsistently namespaced or using cluster links. Namespaces should be used where available.

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

How reproducible:
Very.

Steps to Reproduce:
Create a role binding from within a role and the project selector will appear in the create screen (namespaced). The project selector only appears when the 'Create Binding' button is used, and not when the 'Actions > Add Role Binding' is used (cluster link).

Actual results:
Incorrect links.

Expected results:
Namespaced links and cluster links only where appropriate.

Comment 3 XiaochuanWang 2020-08-31 06:01:30 UTC
Created attachment 1713104 [details]
Verification screenshot

Comment 4 XiaochuanWang 2020-08-31 06:02:55 UTC
Checked on 4.6.0-0.nightly-2020-08-31-012413
Now the links for Action->Add Role Binding is /k8s/ns/xiaocwan-t/rolebindings/~new?rolekind=Role&rolename=example-role&namespace=xiaocwan-t
Project selector pick the project correctly.

Attached the screenshot for refer, this could be Verified.

Comment 7 errata-xmlrpc 2020-10-27 16:31:54 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


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