]> git.proxmox.com Git - qemu-server.git/commit
fix #1010: whitelist options for permissions
authorDominik Csapak <d.csapak@proxmox.com>
Wed, 1 Jun 2016 09:12:42 +0000 (11:12 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Wed, 1 Jun 2016 10:19:37 +0000 (12:19 +0200)
commit58cb690b0693acd4ec335b2056085469e770291f
treeddcc50a2df1d4fa7088b2d03cff13450b1494fbe
parent344b2f9965cd801d2435f69eec14b296fa9542cc
fix #1010: whitelist options for permissions

instead of defaulting to VM.Config.Options for
all options not checked seperately, we
now have lists for the different config permissions
and check them accordingly.

for everything not given, we require root access
this is important especially for usbN and hostpciN
since they can change the host configuration

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
PVE/API2/Qemu.pm