]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Oops; had the name of the "editbugs" group typed in wrong in a couple
authorterry%mozilla.org <>
Thu, 17 Feb 2000 23:59:55 +0000 (23:59 +0000)
committerterry%mozilla.org <>
Thu, 17 Feb 2000 23:59:55 +0000 (23:59 +0000)
of places.

buglist.cgi
enter_bug.cgi

index 096508211741b1abb53a088d3af22fb9e278244f..297d322553fd2fdeb8a14641479f250ac7790cd7 100755 (executable)
@@ -825,7 +825,7 @@ my $dotweak = defined $::FORM{'tweak'};
 
 if ($dotweak) {
     confirm_login();
-    if (!UserInGroup("canedit")) {
+    if (!UserInGroup("editbugs")) {
         print qq{
 Sorry; you do not have sufficient priviledges to edit a bunch of bugs
 at once.
@@ -1378,7 +1378,7 @@ if ($count > 0) {
 <NOBR><A HREF=\"enter_bug.cgi\">Enter New Bug</A></NOBR>
 &nbsp;&nbsp;
 <NOBR><A HREF=\"colchange.cgi?$::buffer\">Change columns</A></NOBR>";
-    if (!$dotweak && $count > 1 && UserInGroup("canedit")) {
+    if (!$dotweak && $count > 1 && UserInGroup("editbugs")) {
         print "&nbsp;&nbsp;\n";
         print "<NOBR><A HREF=\"buglist.cgi?$fields$orderpart&tweak=1\">";
         print "Change several bugs at once</A></NOBR>\n";
index 45ca19de54fd810732536de9be6e32d5212d1fbe..9161b4e2b9b35f4a056988ef6e824c41fb19cbd6 100755 (executable)
@@ -261,7 +261,7 @@ print "
   <tr><td>&nbsp<td> <td> <td> <td> <td> </tr>
 ";
 
-if (UserInGroup("canedit") || UserInGroup("canconfirm")) {
+if (UserInGroup("editbugs") || UserInGroup("canconfirm")) {
     SendSQL("SELECT votestoconfirm FROM products WHERE product = " .
             SqlQuote($product));
     if (FetchOneColumn()) {