mirror of
https://git.proxmox.com/git/qemu-server
synced 2026-01-08 11:09:56 +00:00
boot order permissions change
to change to boot order it is needed to assign a user the VM.Config.Disk privilege set with the add/modify/delete disk permissions -> now the patch allows the boot order to be (re)defined with the VM.Config.Options set - the modify any other VM configuration
This commit is contained in:
parent
073370c38d
commit
ea2106258b
@ -187,8 +187,6 @@ my $check_vm_modify_config_perm = sub {
|
||||
$opt eq 'cpu' || $opt eq 'smp' || $opt eq 'vcpus' ||
|
||||
$opt eq 'cpulimit' || $opt eq 'cpuunits') {
|
||||
$rpcenv->check_vm_perm($authuser, $vmid, $pool, ['VM.Config.CPU']);
|
||||
} elsif ($opt eq 'boot' || $opt eq 'bootdisk') {
|
||||
$rpcenv->check_vm_perm($authuser, $vmid, $pool, ['VM.Config.Disk']);
|
||||
} elsif ($opt eq 'memory' || $opt eq 'balloon' || $opt eq 'shares') {
|
||||
$rpcenv->check_vm_perm($authuser, $vmid, $pool, ['VM.Config.Memory']);
|
||||
} elsif ($opt eq 'args' || $opt eq 'lock') {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user