aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjustdave%syndicomm.com <>2003-04-25 04:50:33 +0000
committerjustdave%syndicomm.com <>2003-04-25 04:50:33 +0000
commitb8216dd28e655da769df2279c0567e10ee658566 (patch)
tree80fede6599af3c32349875d991864759a14f2b03
parentBug 197153: Fix for insecure temporary filename handling. (diff)
downloadbugzilla-b8216dd28e655da769df2279c0567e10ee658566.tar.gz
bugzilla-b8216dd28e655da769df2279c0567e10ee658566.tar.bz2
bugzilla-b8216dd28e655da769df2279c0567e10ee658566.zip
Bug 193965: On product change, user can accidentally opt-out of required group restriction
Patch by Joel Peshkin <bugreport@peshkin.net> r= bbaetz, justdave a= justdave
-rwxr-xr-xprocess_bug.cgi3
1 files changed, 2 insertions, 1 deletions
diff --git a/process_bug.cgi b/process_bug.cgi
index 53e8f77d6..09b45cf92 100755
--- a/process_bug.cgi
+++ b/process_bug.cgi
@@ -1511,7 +1511,8 @@ foreach my $id (@idlist) {
&& ($oldcontrol == CONTROLMAPDEFAULT)) {
# Bug was in a default group.
$buginanydefault = 1;
- if ($newcontrol != CONTROLMAPDEFAULT) {
+ if (($newcontrol != CONTROLMAPDEFAULT)
+ && ($newcontrol != CONTROLMAPMANDATORY)) {
# Bug was in a default group that no longer is.
$buginanychangingdefault = 1;
push (@defaultstoremove, $groupid);