Bug 2101454

Summary: Cannot add PVC boot source to template in 'Edit Boot Source Reference' view as a non-priv user
Product: Container Native Virtualization (CNV) Reporter: Adolfo Aguirrezabal <aaguirre>
Component: User ExperienceAssignee: Aviv Turgeman <aturgema>
Status: CLOSED ERRATA QA Contact: Guohua Ouyang <gouyang>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.11.0CC: cnv-qe-bugs, gouyang, tnisan, ycui
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:
: 2102124 (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: 2102124    
Attachments:
Description Flags
Edit Boot Source Reference loading forever none

Description Adolfo Aguirrezabal 2022-06-27 14:20:33 UTC
Created attachment 1892974 [details]
Edit Boot Source Reference loading forever

Created attachment 1892974 [details]
Edit Boot Source Reference loading forever

Description of problem:
Cannot add PVC boot source to template in 'Edit Boot Source Reference' view as a non-priv user

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


How reproducible:


Steps to Reproduce:
1. As a privileged user, clone a template that has no boot source (e.g Windows template) into a namespace accessible to non-privileged users.
2. As a non-privileged user, try to add a PVC boot source from the 'Edit Boot Source Reference' view to the previously cloned template.

Actual results:
The 'Edit Boot Source Reference' view keeps loading indefinitely (see attachment).


Expected results:
The 'Edit Boot Source Reference' view loads correctly.



Additional info:

Comment 2 Guohua Ouyang 2022-07-27 05:47:25 UTC
verified on v4.12.0-88
it disabled this option for nonpriv user: This user is not allowed to edit this boot source

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