mirror of
https://git.proxmox.com/git/pve-access-control
synced 2025-08-03 18:13:47 +00:00
fix syntax
This commit is contained in:
parent
fef1bc1717
commit
17ecec711f
@ -282,7 +282,7 @@ sub check_vm_perm {
|
||||
return $self->check_full($user, "/vms/$vmid", $privs, $any, $noerr);
|
||||
};
|
||||
|
||||
sub check_volume_access = sub {
|
||||
sub check_volume_access {
|
||||
my ($self, $user, $storecfg, $vmid, $volid) = @_;
|
||||
|
||||
# test if we have read access to volid
|
||||
|
Loading…
Reference in New Issue
Block a user