From 9b2172261e5b0088a608de124c8cfd53154aa6a7 Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Tue, 14 Feb 2012 11:57:41 +0100 Subject: [PATCH] fix acl group name parser --- PVE/AccessControl.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.2