From 6f3e5c8018709ef5a43427c5259e24372eefe7c3 Mon Sep 17 00:00:00 2001 From: "terry%netscape.com" <> Date: Fri, 12 Mar 1999 00:30:51 +0000 Subject: 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. --- long_list.cgi | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'long_list.cgi') 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 "Full Text Bug Listing\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"); -- cgit v1.2.3-24-g4f1b