Bug 2101628 - non-priv user cannot load dataSource while edit template's rootdisk
Summary: non-priv user cannot load dataSource while edit template's rootdisk
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Container Native Virtualization (CNV)
Classification: Red Hat
Component: User Experience
Version: 4.11.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 4.12.0
Assignee: Ugo Palatucci
QA Contact: Guohua Ouyang
URL:
Whiteboard:
Depends On:
Blocks: 2102122
TreeView+ depends on / blocked
 
Reported: 2022-06-28 02:07 UTC by Guohua Ouyang
Modified: 2022-09-14 19:36 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 2102122 (view as bug list)
Environment:
Last Closed: 2022-09-14 19:36:14 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
nonpriv cannot edit template's rootdisk (170.95 KB, image/png)
2022-06-28 02:07 UTC, Guohua Ouyang
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github kubevirt-ui kubevirt-plugin pull 688 0 None Draft Bug 2101628: DataSource selection with parameter 2022-06-29 11:32:49 UTC
Red Hat Product Errata RHSA-2022:6526 0 None None None 2022-09-14 19:36:28 UTC

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


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