Signed-off-by: Fabian Ebner <f.eb...@proxmox.com>
---
 PVE/CLI/pveam.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PVE/CLI/pveam.pm b/PVE/CLI/pveam.pm
index 6c26f209..67a912bd 100644
--- a/PVE/CLI/pveam.pm
+++ b/PVE/CLI/pveam.pm
@@ -170,7 +170,7 @@ __PACKAGE__->register_method ({
 
        my $cfg = PVE::Storage::config();
 
-       PVE::Storage::check_volume_access($rpcenv, $authuser, $cfg, undef, 
$template);
+       PVE::Storage::check_volume_access($rpcenv, $authuser, $cfg, undef, 
$template, 'vztmpl');
 
        my $abs_path = PVE::Storage::abs_filesystem_path($cfg, $template);
 
-- 
2.30.2



_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to