From: justdave%syndicomm.com <> Date: Fri, 25 Apr 2003 04:01:52 +0000 (+0000) Subject: Bug 194394: Someone listed as QA contact on a bug could still access a bug with QA... X-Git-Tag: bugzilla-2.16.3~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=43e3f8bfa8722f23d1dde5bb673373ef56e04896;p=thirdparty%2Fbugzilla.git Bug 194394: Someone listed as QA contact on a bug could still access a bug with QA contact privileges if "useqacontact" was later disabled via the parameters. Patch by Brad Baetz r= justdave a= justdave --- diff --git a/process_bug.cgi b/process_bug.cgi index 43c926867f..aa8b668db7 100755 --- a/process_bug.cgi +++ b/process_bug.cgi @@ -304,7 +304,7 @@ sub CheckCanChangeField { return 1; } } elsif ($reporterid eq $whoid || $ownerid eq $whoid || - $qacontactid eq $whoid) { + (Param('useqacontact') && $qacontactid eq $whoid)) { return 1; } SendSQL("UNLOCK TABLES");