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
parent 901c2d3a
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment