summaryrefslogtreecommitdiffstats
path: root/extensions/BMO/lib
diff options
context:
space:
mode:
authorByron Jones <bjones@mozilla.com>2012-05-14 07:35:23 +0200
committerByron Jones <bjones@mozilla.com>2012-05-14 07:35:23 +0200
commitcdd4da962e3fc0f4811b75f59d57de78eaeaaa42 (patch)
tree8da3a3d0cf25cf1d19a7042c2a6e878ad6dbc39c /extensions/BMO/lib
parentf9ab3eb604c30322ab5acbed3ec7c9e9fb08218d (diff)
downloadbugzilla-cdd4da962e3fc0f4811b75f59d57de78eaeaaa42.tar.gz
bugzilla-cdd4da962e3fc0f4811b75f59d57de78eaeaaa42.tar.xz
Allow infra access to the "email queue" report
Diffstat (limited to 'extensions/BMO/lib')
-rw-r--r--extensions/BMO/lib/Reports.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/BMO/lib/Reports.pm b/extensions/BMO/lib/Reports.pm
index 55856e445..a06d796b5 100644
--- a/extensions/BMO/lib/Reports.pm
+++ b/extensions/BMO/lib/Reports.pm
@@ -687,7 +687,7 @@ sub email_queue_report {
my $dbh = Bugzilla->dbh;
my $user = Bugzilla->user;
- $user->in_group('admin')
+ $user->in_group('admin') || $user->in_group('infra')
|| ThrowUserError('auth_failure', { group => 'admin',
action => 'run',
object => 'email_queue' });