pveam: remove: add content type check

Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
This commit is contained in:
Fabian Ebner 2022-03-30 12:24:34 +02:00 committed by Fabian Grünbichler
parent 0bd224e56b
commit 0782c03469

View File

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