From: Dietmar Maurer Date: Tue, 14 Feb 2012 10:57:41 +0000 (+0100) Subject: fix acl group name parser X-Git-Url: https://git.proxmox.com/?p=pve-access-control.git;a=commitdiff_plain;h=9b2172261e5b0088a608de124c8cfd53154aa6a7 fix acl group name parser --- diff --git a/PVE/AccessControl.pm b/PVE/AccessControl.pm index 3cae437..44813a7 100644 --- a/PVE/AccessControl.pm +++ b/PVE/AccessControl.pm @@ -938,7 +938,7 @@ sub parse_user_config { } foreach my $ug (split_list($uglist)) { - if ($ug =~ m/^@(\w+)$/) { + if ($ug =~ m/^@(\S+)$/) { my $group = $1; if ($cfg->{groups}->{$group}) { # group exists $cfg->{acl}->{$path}->{groups}->{$group}->{$role} = $propagate;