Bug 2139296 - Non-admin cannot load MigrationPolicies page
Summary: Non-admin cannot load MigrationPolicies page
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Container Native Virtualization (CNV)
Classification: Red Hat
Component: User Experience
Version: 4.12.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 4.12.0
Assignee: Aviv Turgeman
QA Contact: Guohua Ouyang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-11-02 06:03 UTC by Guohua Ouyang
Modified: 2023-01-24 13:42 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-01-24 13:41:50 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
error on mp page (98.86 KB, image/png)
2022-11-02 06:03 UTC, Guohua Ouyang
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github kubevirt-ui kubevirt-plugin pull 944 0 None open Bug 2139296: Non-admin cannot load MigrationPolicies page 2022-11-02 13:31:08 UTC
Red Hat Issue Tracker CNV-22169 0 None None None 2022-11-02 06:13:49 UTC
Red Hat Product Errata RHSA-2023:0408 0 None None None 2023-01-24 13:42:00 UTC

Description Guohua Ouyang 2022-11-02 06:03:12 UTC
Created attachment 1921643 [details]
error on mp page

Description of problem:
Non-admin cannot load MigrationPolicies page.

Error on UI: migrationpolicies.migrations.kubevirt.io is forbidden: User "test" cannot list resource "migrationpolicies" in API group "migrations.kubevirt.io" at the cluster scope

The error is from backend, if the backend does not support it, maybe we need to hide this page on UI for nonb-admin user

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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Guohua Ouyang 2022-11-07 10:30:30 UTC
the MP page is not showing for non-admin user now

Comment 6 errata-xmlrpc 2023-01-24 13:41:50 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.12.0 Images security 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-2023:0408


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