From ae0fc821b3375b21f365a9857f477a49d1bbc91f Mon Sep 17 00:00:00 2001 From: Sunil Joshi Date: Tue, 6 Aug 2013 11:43:27 +1000 Subject: Bug 491316 - Allow the reporter to enter keywords at bug creation r=sgreen, a=sgreen --- Bugzilla/Bug.pm | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'Bugzilla') diff --git a/Bugzilla/Bug.pm b/Bugzilla/Bug.pm index f27baa532..842dacff4 100644 --- a/Bugzilla/Bug.pm +++ b/Bugzilla/Bug.pm @@ -1713,13 +1713,7 @@ sub _check_keywords { $keywords_in = trim($keywords_in); $keyword_array = [split(/[\s,]+/, $keywords_in)]; } - - # On creation, only editbugs users can set keywords. - if (!ref $invocant) { - my $product = $params->{product}; - return [] if !Bugzilla->user->in_group('editbugs', $product->id); - } - + my %keywords; foreach my $keyword (@$keyword_array) { next unless $keyword; -- cgit v1.2.3-24-g4f1b