diff options
Diffstat (limited to 'extensions/BMO')
-rw-r--r-- | extensions/BMO/lib/Reports.pm | 2 | ||||
-rw-r--r-- | extensions/BMO/template/en/default/hook/reports/menu-end.html.tmpl | 2 |
2 files changed, 2 insertions, 2 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' }); diff --git a/extensions/BMO/template/en/default/hook/reports/menu-end.html.tmpl b/extensions/BMO/template/en/default/hook/reports/menu-end.html.tmpl index 852ed6cc4..dae7f9108 100644 --- a/extensions/BMO/template/en/default/hook/reports/menu-end.html.tmpl +++ b/extensions/BMO/template/en/default/hook/reports/menu-end.html.tmpl @@ -38,7 +38,7 @@ </strong> - Lists the groups a user is a member of. </li> [% END %] - [% IF user.in_group('admin') %] + [% IF user.in_group('admin') || user.in_group('infra') %] <li> <strong> <a href="[% urlbase FILTER none %]page.cgi?id=email_queue.html">Email Queue</a> |