-
Bug
-
Resolution: Done
-
Major
-
None
-
ACM 2.14.0
-
Product / Portfolio Work
-
False
-
-
False
-
-
-
Search Sprint 2025-13
-
Important
-
Approved
-
None
Description of problem:
I believe these 2 issues will have the same or very similar root cause. Therefor I am grouping VirtualMachine and VirtualMachineSnapshot together. If you feel these should be split into separate bug tickets, let me know and I will be happy to split them.
The issue is that an IDP user with assigned ClusterPermission clusterrole/clusterrolebinding of kubevirt.io:admin is unable to edit VirtualMachine and VirtualMachineSnapshot in the yaml editor. Kubeadmin is able to edit this as expected. Here is what UI shots when attempting to edit:

Version-Release number of selected component (if applicable):
How reproducible:
Every time.
Steps to Reproduce:
- Create ClusterPermission from UI giving a user kubevirt.io:admin clusterrole/clusterrolebinding.
- Log into hub with user
- try to edit VM or VM snapshot yaml in yaml editor
Actual results:
Unable to edit YAML in the editor as admin.
Expected results:
Should be able to edit YAML in the editor as admin.