]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 1541155 - Don't check attacher's group membership on bounty attachments
authorbyron jones <byron@glob.com.au>
Wed, 6 Nov 2019 15:56:27 +0000 (23:56 +0800)
committerdklawren <dklawren@users.noreply.github.com>
Wed, 6 Nov 2019 15:56:27 +0000 (10:56 -0500)
extensions/BMO/Extension.pm

index 4c3430ffbe9eb09911a62c38323c0f7a1e5bd99a..a496ea8ec05ddd3518ab8cf9f80acea0be459d85 100644 (file)
@@ -349,7 +349,6 @@ sub _attachment_is_bounty_attachment {
   return 0 unless $attachment->filename eq 'bugbounty.data';
   return 0 unless $attachment->contenttype eq 'text/plain';
   return 0 unless $attachment->isprivate;
-  return 0 unless $attachment->attacher->in_group('bounty-team');
 
   return $attachment->description =~ /^(?:[^,]*,)+[^,]*$/;
 }