diff options
author | Olivier Blin <oblin@mandriva.com> | 2007-01-26 11:25:29 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2007-01-26 11:25:29 +0000 |
commit | 50ac92fa4638aa2fb82482fcb847a10d816a0ae7 (patch) | |
tree | e558fc65dffa069e49ae6317360ac0a52d1fa0c3 /lib/Youri/Submit/Check/ACL.pm | |
parent | f37dda0e408e123c2bcd7646f6f096d81097a53d (diff) | |
download | mga-youri-submit-50ac92fa4638aa2fb82482fcb847a10d816a0ae7.tar mga-youri-submit-50ac92fa4638aa2fb82482fcb847a10d816a0ae7.tar.gz mga-youri-submit-50ac92fa4638aa2fb82482fcb847a10d816a0ae7.tar.bz2 mga-youri-submit-50ac92fa4638aa2fb82482fcb847a10d816a0ae7.tar.xz mga-youri-submit-50ac92fa4638aa2fb82482fcb847a10d816a0ae7.zip |
really match section in ACL
Diffstat (limited to 'lib/Youri/Submit/Check/ACL.pm')
-rw-r--r-- | lib/Youri/Submit/Check/ACL.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Youri/Submit/Check/ACL.pm b/lib/Youri/Submit/Check/ACL.pm index 26de874..84989bf 100644 --- a/lib/Youri/Submit/Check/ACL.pm +++ b/lib/Youri/Submit/Check/ACL.pm @@ -38,7 +38,7 @@ sub run { next if $target !~ /$t/; foreach my $acl (@{$acl->{$t}}) { my ($a, $media, $r, $users) = @$acl; - next if $arch !~ $a || $srpm !~ $r || $media !~ $media; + next if $arch !~ $a || $srpm !~ $r || $section !~ $media; if ($user =~ /$users/) { return } else { |