Bug 1871996

Summary: Role bindings links aren't namespaced correctly
Product: OpenShift Container Platform Reporter: ralpert
Component: Management ConsoleAssignee: ralpert
Status: CLOSED ERRATA QA Contact: Yadan Pei <yapei>
Severity: low Docs Contact:
Priority: unspecified    
Version: 4.5CC: aos-bugs, jokerman, yapei
Target Milestone: ---   
Target Release: 4.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
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.
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-10-27 16:31:54 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
Verification screenshot none

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