]> git.proxmox.com Git - qemu-server.git/commit
api: check Sys.Audit permissions when setting a custom CPU model
authorStefan Reiter <s.reiter@proxmox.com>
Mon, 4 May 2020 10:58:38 +0000 (12:58 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 6 May 2020 14:48:08 +0000 (16:48 +0200)
commit6e72f90bbbb43439ced0d988377b5c7e346fbed0
treeaea373482805fb1671fd5faa256a12ebcaf2cbcd
parent690748632b57b44a05c86a16869da4fce290c98a
api: check Sys.Audit permissions when setting a custom CPU model

Explicitly allows changing other properties than the cputype, even if
the currently set cputype is not accessible by the user. This way, an
administrator can assign a custom CPU type to a VM for a less privileged
user without breaking edit functionality for them.

Signed-off-by: Stefan Reiter <s.reiter@proxmox.com>
PVE/API2/Qemu.pm