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);