the rarely-useful "@all users can access @all repos" thing...

This commit is contained in:
Sitaram Chamarty 2011-10-07 09:17:38 +05:30
parent 696bffe605
commit 77f0b2da0e
3 changed files with 68 additions and 4 deletions

View file

@ -58,6 +58,7 @@ my @allowed_refs;
push @allowed_refs, @ { $repos{$ENV{GL_REPO}}{$ENV{GL_USER}} || [] };
push @allowed_refs, @ { $repos{'@all'} {$ENV{GL_USER}} || [] };
push @allowed_refs, @ { $repos{$ENV{GL_REPO}}{'@all'} || [] };
push @allowed_refs, @ { $repos{'@all'} {'@all'} || [] };
# prepare the list of refs to be checked