Bug 2140730 - Links on Virtualization Overview page lead to wrong namespace for non-priv user
Summary: Links on Virtualization Overview page lead to wrong namespace for non-priv user
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Container Native Virtualization (CNV)
Classification: Red Hat
Component: User Experience
Version: 4.12.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 4.12.0
Assignee: Hilda Stastna
QA Contact: Leon Kladnitsky
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-11-07 19:01 UTC by Leon Kladnitsky
Modified: 2023-01-24 13:41 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-01-24 13:41:51 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
project selector jumps (2.24 MB, video/mp4)
2022-11-07 19:01 UTC, Leon Kladnitsky
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github kubevirt-ui kubevirt-plugin pull 958 0 None Merged Bug 2140730: Make links to resources on Overview page work correctly 2022-11-09 18:08:35 UTC
Red Hat Issue Tracker CNV-22325 0 None None None 2022-11-07 19:06:55 UTC
Red Hat Product Errata RHSA-2023:0408 0 None None None 2023-01-24 13:41:58 UTC

Description Leon Kladnitsky 2022-11-07 19:01:59 UTC
Created attachment 1922811 [details]
project selector jumps

Description of problem: When non-priv user opens Virtualization Overview page, links on resource cards (VirtualMachines, Templates, Networks) have wrong URLs, that lead to "all-namespaces" instead of currently selected NS 

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


How reproducible: always


Steps to Reproduce:
1. Login as test/test
2. Create a project
3. Open Virtualization Overview page and click on any resource card number

Actual results: Project selector jumps to "All Projects"


Expected results: Project selector stays at previously selected project


Additional info:

Comment 1 Hilda Stastna 2022-11-08 11:28:52 UTC
Hi Leon,

I was able to reproduce the bug even with the admin user. Are you sure that the bug is related specifically to the non-priv user? Thanks.

Comment 2 Leon Kladnitsky 2022-11-10 15:31:45 UTC
Verified on KCP v4.12.0-160

Comment 7 errata-xmlrpc 2023-01-24 13:41:51 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 (Important: OpenShift Virtualization 4.12.0 Images security update), 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/RHSA-2023:0408


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