X-Git-Url: https://git.proxmox.com/?p=pve-access-control.git;a=blobdiff_plain;f=PVE%2FRPCEnvironment.pm;h=8750e735ed0855ada738c0d0817ee091b669f813;hp=31692ce2a027f37f9f7233f6568c1dc8f1d56b71;hb=7a7a517a526f7bff42845c6fc26cdd0e16b46102;hpb=dee1c8829a1496d285559677174c9a11a3284c9f diff --git a/PVE/RPCEnvironment.pm b/PVE/RPCEnvironment.pm index 31692ce..8750e73 100644 --- a/PVE/RPCEnvironment.pm +++ b/PVE/RPCEnvironment.pm @@ -309,6 +309,8 @@ sub check_perm_modify { push @$testperms, 'Datastore.Allocate'; } elsif ($path =~ m|^/vms/.+$|) { push @$testperms, 'VM.Allocate'; + } elsif ($path =~ m|^/pool/.+$|) { + push @$testperms, 'Pool.Allocate'; } return $self->check_any($username, $path, $testperms, $noerr);