fix acl group name parser
authorDietmar Maurer <dietmar@proxmox.com>
Tue, 14 Feb 2012 10:57:41 +0000 (11:57 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Tue, 14 Feb 2012 10:57:41 +0000 (11:57 +0100)
PVE/AccessControl.pm

index 3cae437..44813a7 100644 (file)
@@ -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;