From: endico%mozilla.org <> Date: Sat, 3 Jun 2000 01:54:55 +0000 (+0000) Subject: allow the reporter of a bug to change the status of a bug (e.g. reopen it) even if... X-Git-Tag: bugzilla-2.12~287 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2a5ba50ff167434bbbe87b15f3242d61dbf9fda9;p=thirdparty%2Fbugzilla.git allow the reporter of a bug to change the status of a bug (e.g. reopen it) even if they don't have the editbug bit set. --- diff --git a/process_bug.cgi b/process_bug.cgi index 11e6040874..8b1226b3a5 100755 --- a/process_bug.cgi +++ b/process_bug.cgi @@ -168,6 +168,12 @@ sub CheckCanChangeField { "WHERE bug_id = $bugid"); ($reporterid, $ownerid, $qacontactid) = (FetchSQLData()); } + # Let reporter change bug status, even if they can't edit bugs. + # If reporter can't re-open their bug they will just file a duplicate. + # While we're at it, let them close their own bugs as well. + if ( ($f eq "bug_status") && ($whoid eq $reporterid) ) { + return 1; + } if ($f eq "bug_status" && $newvalue ne $::unconfirmedstate && IsOpenedState($newvalue)) {