summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormyk%mozilla.org <>2002-04-04 05:48:05 +0200
committermyk%mozilla.org <>2002-04-04 05:48:05 +0200
commit153a60fc43567d0b79aa6bf1d70e76be12521de1 (patch)
tree792213a4ff15b22a4415b8a7ed0b1741f10aa7d6
parent03ad2ba8d181eeb39ce224005e348ff6f9d3b119 (diff)
downloadbugzilla-153a60fc43567d0b79aa6bf1d70e76be12521de1.tar.gz
bugzilla-153a60fc43567d0b79aa6bf1d70e76be12521de1.tar.xz
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 <myk@mozilla.org>. r=justdave,gerv.
-rwxr-xr-xqueryhelp.cgi1
1 files changed, 1 insertions, 0 deletions
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++;