summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Bugzilla/Bug.pm8
1 files changed, 1 insertions, 7 deletions
diff --git a/Bugzilla/Bug.pm b/Bugzilla/Bug.pm
index 76b845f71..256784022 100644
--- a/Bugzilla/Bug.pm
+++ b/Bugzilla/Bug.pm
@@ -1887,13 +1887,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;