Bug 2056420

Summary: "Add Network Interface" button should be enabled for non-privileged user
Product: Container Native Virtualization (CNV) Reporter: Guohua Ouyang <gouyang>
Component: User ExperienceAssignee: Tal Nisan <tnisan>
Status: CLOSED NOTABUG QA Contact: Guohua Ouyang <gouyang>
Severity: high Docs Contact:
Priority: high    
Version: 4.11.0CC: aos-bugs, cnv-qe-bugs, gouyang, scuppett, yzamir
Target Milestone: ---   
Target Release: 4.11.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: release note
Fixed In Version: Doc Type: Known Issue
Doc Text:
Feature: Upstream RBAC setting was updates so regular users can watch NAD network settings Reason: Add functionality without giving up security Result: The UI should also update to allow none users to watch NADS
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-05-16 12:46:16 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:

Description Guohua Ouyang 2022-02-21 07:18:29 UTC
Description of problem:
While logging in with a non-privileged user, creating a VM, and going to the Network interfaces tab, the "Add Network Interface" button is disabled. I guess it's disabled because non-privileged users cannot list NAD before, but as the related bug is fixed, non-privileged users can list and use the NAD to create nic now, so it should be enabled now.

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

How reproducible:


Steps to Reproduce:
1. login with a non-privileged user
2. create a vm and visit vm nic tabs
3.

Actual results:
"Add Network Interface" button is disabled

Expected results:
"Add Network Interface" button should be enabled

Additional info:

Comment 1 ctomasko 2022-03-15 22:07:27 UTC
Release note > known issue

A non-privileged user cannot use the Add Network Interface button on the VM Network Interfaces tab.

As a workaround, non-privileged users can add additional network interfaces in the Network step while creating the VM using the customize wizard. (BZ#2056420)

https://github.com/openshift/openshift-docs/pull/42530
https://deploy-preview-42530--osdocs.netlify.app/openshift-enterprise/latest/virt/virt-4-10-release-notes#virt-4-10-known-issues

Future link: After the OpenShift Virtualization 4.10 releases, you can find the release notes here: https://docs.openshift.com/container-platform/4.10/virt/virt-4-10-release-notes.html
or on the portal,
https://access.redhat.com/documentation/en-us/openshift_container_platform/4.10

Comment 2 Guohua Ouyang 2022-05-11 09:32:20 UTC
Close the bug as we moved to new UI and this is not a must.