mirror of
https://git.proxmox.com/git/pve-access-control
synced 2025-07-14 12:31:21 +00:00
acl: check path: spell param out
we normally use shift only in closures, to keep them short, as a module method this should rather use our standard style. Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
20c60513b2
commit
91c30089a7
@ -930,7 +930,8 @@ sub normalize_path {
|
||||
}
|
||||
|
||||
sub check_path {
|
||||
return shift =~ m!^(
|
||||
my ($path) = @_;
|
||||
return $path =~ m!^(
|
||||
/
|
||||
|/access
|
||||
|/access/groups
|
||||
|
Loading…
Reference in New Issue
Block a user