diff options
author | justdave%syndicomm.com <> | 2003-04-25 04:50:33 +0000 |
---|---|---|
committer | justdave%syndicomm.com <> | 2003-04-25 04:50:33 +0000 |
commit | b8216dd28e655da769df2279c0567e10ee658566 (patch) | |
tree | 80fede6599af3c32349875d991864759a14f2b03 | |
parent | Bug 197153: Fix for insecure temporary filename handling. (diff) | |
download | bugzilla-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-x | process_bug.cgi | 3 |
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); |