Bug 2124558
Summary: | Non-privileged user can start MigrationPolicy creation | ||||||
---|---|---|---|---|---|---|---|
Product: | Container Native Virtualization (CNV) | Reporter: | Leon Kladnitsky <lkladnit> | ||||
Component: | User Experience | Assignee: | Hilda Stastna <hstastna> | ||||
Status: | CLOSED ERRATA | QA Contact: | Leon Kladnitsky <lkladnit> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 4.12.0 | CC: | hstastna | ||||
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: | Environment: | ||||||
Last Closed: | 2023-01-24 13:40:29 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: | |||||||
Attachments: |
|
Hi Leon, can you, please, specify, what kind of roles should the "test" user you've mentioned, have? Thanks. (In reply to Hilda Stastna from comment #1) > Hi Leon, > > can you, please, specify, what kind of roles should the "test" user you've > mentioned, have? Thanks. Hi Hilda, I'm not sure. But Aviv fixed similar bug for DataSource, https://bugzilla.redhat.com/show_bug.cgi?id=2130909, you probably can use https://github.com/kubevirt-ui/kubevirt-plugin/pull/900 as a reference, or ask Aviv. Verified on v4.12.0-133 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 |
Created attachment 1909798 [details] Create MigrationPolicy Description of problem: Non-privileged user can start MigrationPolicy creation, but can not actually create a MigrationPolicy Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. Log in as test/test 2. Open MigrationPolicy page 3. Click on "Create MigrationPolicy" button and select "With form" 4. Fill MigrationPolicy form and click "Create" button. Actual results: Error message appears, the MigrationPolicy is not created Expected results: "Create MigrationPolicy" button is disabled for non-privileged user, or whole MigrationPolicy page is hidden Additional info: