From 75da89ad1604dc88549f9e45318a35f176a43443 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Sat, 22 Sep 2007 13:11:44 +0000 Subject: allow authorized users to upload everything even during full freeze --- lib/Youri/Submit/Check/Version.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/Youri/Submit/Check/Version.pm b/lib/Youri/Submit/Check/Version.pm index 289ffe0..f8567eb 100644 --- a/lib/Youri/Submit/Check/Version.pm +++ b/lib/Youri/Submit/Check/Version.pm @@ -58,6 +58,8 @@ sub run { } # FIXME: The following code is not working and must be reviewed. elsif ($opt->{mode} eq 'freeze') { + my $user = $define->{user}; + return if $user =~ /$opt->{authorized_users}/; # XXX: So freeze mode really only check for this exceptions? if ($section !~ /$opt->{authorized_sections}/) { return "FREEZE: repository $target section $section is frozen, you can still submit your packages in testing\nTo do so use your.devel --define section=
$target ... "; -- cgit v1.2.1