Bug 2101628

Summary: non-priv user cannot load dataSource while edit template's rootdisk
Product: Container Native Virtualization (CNV) Reporter: Guohua Ouyang <gouyang>
Component: User ExperienceAssignee: Ugo Palatucci <upalatuc>
Status: CLOSED ERRATA QA Contact: Guohua Ouyang <gouyang>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.11.0CC: cnv-qe-bugs, gouyang, tnisan
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:
: 2102122 (view as bug list) Environment:
Last Closed: 2022-09-14 19:36:14 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:
Bug Depends On:    
Bug Blocks: 2102122    
Attachments:
Description Flags
nonpriv cannot edit template's rootdisk none

Description Guohua Ouyang 2022-06-28 02:07:11 UTC
Created attachment 1893068 [details]
nonpriv cannot edit template's rootdisk

Description of problem:
non-priv user cannot load dataSource while edit template's rootdisk

Version-Release number of selected component (if applicable):
v4.11.0-67

How reproducible:
100%

Steps to Reproduce:
1. login with a non-priv user and create a ns
2. login with clusteradmin and clone a RHEL6 template to non-priv's ns
3. login with a non-priv user 
4. try to edit the template's rootdisk

Actual results:
dataSource fielid is keeping in loading

Expected results:
nonpriv user can edit the template's rootdisk

Additional info:

Comment 1 Ugo Palatucci 2022-06-29 10:12:50 UTC
Fixed here https://github.com/kubevirt-ui/kubevirt-plugin/pull/587

Comment 2 Ugo Palatucci 2022-06-29 10:16:36 UTC
No, it was not fixed there. 
The issue regards templates with data source parameters like DATA_SOURCE_NAME and DATA_SOURCENAMESPACE.

Comment 3 Guohua Ouyang 2022-07-27 05:50:00 UTC
verified on v4.12.0-88

Comment 7 errata-xmlrpc 2022-09-14 19:36:14 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.11.0 Images security and bug fix 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-2022:6526