diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2014-07-30 16:12:55 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2014-07-30 16:12:55 +0300 |
commit | 99b83be1159294d7e05a9630b9b4babab52836e1 (patch) | |
tree | fb27d6274f32e799048ce3b4290de82dd3fc40e7 /lib/GitACL.pm | |
parent | cb408326e12c0f70b8cd9de532e394ac52755f40 (diff) | |
download | gitaclhook-99b83be1159294d7e05a9630b9b4babab52836e1.tar.gz gitaclhook-99b83be1159294d7e05a9630b9b4babab52836e1.tar.bz2 |
Use special project name "all" to match all projects.
Diffstat (limited to 'lib/GitACL.pm')
-rw-r--r-- | lib/GitACL.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/GitACL.pm b/lib/GitACL.pm index 4214b3f..d3f6b35 100644 --- a/lib/GitACL.pm +++ b/lib/GitACL.pm @@ -162,7 +162,7 @@ sub match_tuple($$) { unless ($x[0] eq 'allow' || $x[0] eq 'deny'); return ( 0, "project mismatch" ) - if ($x[1] ne "*" and $x[1] ne $self->{project_name}); + if ($x[1] ne "all" and $x[1] ne $self->{project_name}); return ( 0, "user mismatch" ) unless $self->match_user($x[2]); return ( 0, "op mismatch" ) |