diff options
-rw-r--r-- | src/gitolite.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gitolite.pm b/src/gitolite.pm index 061e57c..9c108a5 100644 --- a/src/gitolite.pm +++ b/src/gitolite.pm @@ -174,8 +174,8 @@ sub repo_rights my $fh = wrap_open("<", "$repo_base_abs/$repo.git/gl-perms"); my $perms = join ("", <$fh>); if ($perms) { - $r = $user if $perms =~ /^\s*R(?=\s).*\s$user(\s|$)/m; - $w = $user if $perms =~ /^\s*RW(?=\s).*\s$user(\s|$)/m; + $r = $user if $perms =~ /^\s*R(?=\s).*\s(\@all|$user)(\s|$)/m; + $w = $user if $perms =~ /^\s*RW(?=\s).*\s(\@all|$user)(\s|$)/m; } } |