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 /long_list.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 'long_list.cgi')
-rwxr-xr-x | long_list.cgi | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/long_list.cgi b/long_list.cgi index 18f3c0e27..723aa2cf3 100755 --- a/long_list.cgi +++ b/long_list.cgi @@ -31,6 +31,9 @@ use vars %::FORM; print "Content-type: text/html\n\n"; print "<TITLE>Full Text Bug Listing</TITLE>\n"; +ConnectToDatabase(); +quietly_check_login(); + my $generic_query = " select bugs.bug_id, @@ -52,9 +55,7 @@ select bugs.status_whiteboard from bugs,profiles assign,profiles report where assign.userid = bugs.assigned_to and report.userid = bugs.reporter and -"; - -ConnectToDatabase(); +bugs.groupset & $::usergroupset = bugs.groupset and"; foreach my $bug (split(/:/, $::FORM{'buglist'})) { SendSQL("$generic_query bugs.bug_id = $bug"); |