mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-07-27 03:55:33 +00:00
pveam: remove: add content type check
Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
This commit is contained in:
parent
0bd224e56b
commit
0782c03469
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user