summaryrefslogtreecommitdiffstats
path: root/new_bug.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'new_bug.cgi')
-rw-r--r--new_bug.cgi5
1 files changed, 5 insertions, 0 deletions
diff --git a/new_bug.cgi b/new_bug.cgi
index 2e903cfce..7f35f9ebc 100644
--- a/new_bug.cgi
+++ b/new_bug.cgi
@@ -46,6 +46,11 @@ my $cgi = Bugzilla->cgi;
my $template = Bugzilla->template;
my $vars = {};
+unless ($user->in_group('new-bug-testers')) {
+ print $cgi->redirect(correct_urlbase());
+ exit;
+}
+
if (lc($cgi->request_method) eq 'post') {
my $token = $cgi->param('token');
check_hash_token($token, ['new_bug']);