Uploaded image for project: 'Red Hat Advanced Cluster Management'
  1. Red Hat Advanced Cluster Management
  2. ACM-21798

Fine grained RBAC UI - cannot edit VirtualMachine and VirtualMachineSnapshot yaml as kubevirt.io:admin

XMLWordPrintable

    • Product / Portfolio Work
    • False
    • Hide

      None

      Show
      None
    • 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:

      1. Create ClusterPermission from UI giving a user kubevirt.io:admin clusterrole/clusterrolebinding.
      2. Log into hub with user
      3. 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.

      Additional info:

              zlayne@redhat.com Zackery Layne
              rh-ee-mshort Matthew Short
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: