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:
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