Bug 2056420 - "Add Network Interface" button should be enabled for non-privileged user
Summary: "Add Network Interface" button should be enabled for non-privileged user
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Container Native Virtualization (CNV)
Classification: Red Hat
Component: User Experience
Version: 4.11.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 4.11.0
Assignee: Tal Nisan
QA Contact: Guohua Ouyang
URL:
Whiteboard: release note
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-02-21 07:18 UTC by Guohua Ouyang
Modified: 2022-05-16 12:46 UTC (History)
5 users (show)

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
Clone Of:
Environment:
Last Closed: 2022-05-16 12:46:16 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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.


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