Bug 1871996 - Role bindings links aren't namespaced correctly
Summary: Role bindings links aren't namespaced correctly
Keywords:
Status: VERIFIED
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: XiaochuanWang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-08-24 19:55 UTC by ralpert
Modified: 2020-08-31 06:02 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:
Target Upstream Version:


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


Links
System ID Priority Status Summary Last Updated
Github openshift console pull 6035 None closed Bug 1871996: Made create role bindings links consistent 2020-08-31 01:05:24 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.


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