Bug 2139820

Summary: non-priv user cant reach vm details
Product: Container Native Virtualization (CNV) Reporter: Aviv Turgeman <aturgema>
Component: User ExperienceAssignee: Aviv Turgeman <aturgema>
Status: CLOSED ERRATA QA Contact: Guohua Ouyang <gouyang>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.12.0CC: gouyang
Target Milestone: ---   
Target Release: 4.12.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-01-24 13:41:51 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
non-priv-cant-reach-vm-details none

Description Aviv Turgeman 2022-11-03 14:05:35 UTC
Created attachment 1922026 [details]
non-priv-cant-reach-vm-details

Description of problem:
user cant reach vm details page, error screenshot is added

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


How reproducible:
100%

Steps to Reproduce:
1. navigate to Virtualization -> VirtualMachines and select any VM OR if not existing create one, once created it should move you to vm details page but it gets an error

Actual results:
error when clicking any VM

Expected results:
view vm details page

Additional info:
using the useLastNamespace hook from console SDK is not working properly for non-admin users

Comment 1 Guohua Ouyang 2022-11-07 10:07:23 UTC
verified on v4.12.0-1652

Comment 6 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