From 153a60fc43567d0b79aa6bf1d70e76be12521de1 Mon Sep 17 00:00:00 2001 From: "myk%mozilla.org" <> Date: Thu, 4 Apr 2002 03:48:05 +0000 Subject: Fix for bug 126801: Suppress display of secure products to users who are not authorized to access those products. Only matters for installations using the "product groups" feature. Patch by Myk Melez . r=justdave,gerv. --- queryhelp.cgi | 1 + 1 file changed, 1 insertion(+) (limited to 'queryhelp.cgi') diff --git a/queryhelp.cgi b/queryhelp.cgi index 9fd5d9857..16345af64 100755 --- a/queryhelp.cgi +++ b/queryhelp.cgi @@ -603,6 +603,7 @@ SendSQL("SELECT product,description FROM products ORDER BY product"); while (MoreSQLData()) { my ($product, $productdesc) = FetchSQLData(); + next if (Param("usebuggroups") && GroupExists($product) && !UserInGroup($product)); push (@products, $product); $line_count++; -- cgit v1.2.3-24-g4f1b