summaryrefslogtreecommitdiffstats
path: root/query.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'query.cgi')
-rwxr-xr-xquery.cgi16
1 files changed, 8 insertions, 8 deletions
diff --git a/query.cgi b/query.cgi
index f782bd5c1..2f8e1bef4 100755
--- a/query.cgi
+++ b/query.cgi
@@ -377,17 +377,17 @@ print "
";
+quietly_check_login();
+
+if (UserInGroup("tweakparams")) {
+ print "<a href=editparams.cgi>Edit Bugzilla operating parameters</a><br>\n";
+}
+if (UserInGroup("editcomponents")) {
+ print "<a href=editowners.cgi>Edit Bugzilla component owners</a><br>\n";
+}
if (defined $::COOKIE{"Bugzilla_login"}) {
- if ($::COOKIE{"Bugzilla_login"} eq Param("maintainer")) {
- print "<a href=editparams.cgi>Edit Bugzilla operating parameters</a><br>\n";
- print "<a href=editowners.cgi>Edit Bugzilla component owners</a><br>\n";
- }
print "<a href=relogin.cgi>Log in as someone besides <b>$::COOKIE{'Bugzilla_login'}</b></a><br>\n";
}
print "<a href=changepassword.cgi>Change your password.</a><br>\n";
print "<a href=\"enter_bug.cgi\">Create a new bug.</a><br>\n";
print "<a href=\"reports.cgi\">Bug reports</a><br>\n";
-
-
-
-