]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Fix for bug 126801: Suppress display of secure products to users who are not authoriz...
authormyk%mozilla.org <>
Thu, 4 Apr 2002 03:48:05 +0000 (03:48 +0000)
committermyk%mozilla.org <>
Thu, 4 Apr 2002 03:48:05 +0000 (03:48 +0000)
feature.
Patch by Myk Melez <myk@mozilla.org>.
r=justdave,gerv.

queryhelp.cgi

index 9fd5d9857457958acd6d4f7dcbd8e6b8ebc314c6..16345af649382e26c1138e718f74044684091ef5 100755 (executable)
@@ -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++;