Signed-off-by: Fabian Ebner <f.eb...@proxmox.com> --- PVE/API2/VZDump.pm | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/PVE/API2/VZDump.pm b/PVE/API2/VZDump.pm index 2c0df4c3..1adc169a 100644 --- a/PVE/API2/VZDump.pm +++ b/PVE/API2/VZDump.pm @@ -267,7 +267,14 @@ __PACKAGE__->register_method ({ my $authuser = $rpcenv->get_user(); my $storage_cfg = PVE::Storage::config(); - PVE::Storage::check_volume_access($rpcenv, $authuser, $storage_cfg, undef, $volume); + PVE::Storage::check_volume_access( + $rpcenv, + $authuser, + $storage_cfg, + undef, + $volume, + 'backup', + ); return PVE::Storage::extract_vzdump_config($storage_cfg, $volume); }}); -- 2.30.2 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel