summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorendico%mozilla.org <>2000-06-03 03:54:55 +0200
committerendico%mozilla.org <>2000-06-03 03:54:55 +0200
commit2a5ba50ff167434bbbe87b15f3242d61dbf9fda9 (patch)
tree901bb3b79431364954ebeb676500aa42de92d691
parent5c2876537ca23508a64d95e29183e968aa6c3581 (diff)
downloadbugzilla-2a5ba50ff167434bbbe87b15f3242d61dbf9fda9.tar.gz
bugzilla-2a5ba50ff167434bbbe87b15f3242d61dbf9fda9.tar.xz
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.
-rwxr-xr-xprocess_bug.cgi6
1 files changed, 6 insertions, 0 deletions
diff --git a/process_bug.cgi b/process_bug.cgi
index 11e604087..8b1226b3a 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)) {