diff options
author | terry%netscape.com <> | 1999-03-12 01:30:51 +0100 |
---|---|---|
committer | terry%netscape.com <> | 1999-03-12 01:30:51 +0100 |
commit | 6f3e5c8018709ef5a43427c5259e24372eefe7c3 (patch) | |
tree | b2cbd1c250a035299e5bde3402aa1a0aa26b6492 /query.cgi | |
parent | 5b2ed378cc135b0f3b94d960824c65e43365e247 (diff) | |
download | bugzilla-6f3e5c8018709ef5a43427c5259e24372eefe7c3.tar.gz bugzilla-6f3e5c8018709ef5a43427c5259e24372eefe7c3.tar.xz |
Added 'groups' stuff, where we have different group bits that we can
put on a person or on a bug. Some of the group bits control access to bugzilla
features. And a person can't access a bug unless he has every group bit set
that is also set on the bug.
Diffstat (limited to 'query.cgi')
-rwxr-xr-x | query.cgi | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -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"; - - - - |