Commit 7539770a authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Allow admin (reddot) to turn off firewalling when experiment is

swapped out.
parent 59a919f4
......@@ -1324,9 +1324,16 @@ sub CheckFWinfo($)
# Experiment cannot go from firewalled to not firewalled, in either the
# swapped or active state.
if ($wasfirewalled && !$nowfirewalled) {
if (! $isadmin) {
$msg = "Not allowed to turn off firewalling!";
goto noway;
if ($curstate eq EXPTSTATE_ACTIVE()) {
$msg = "Not allowed to turn off firewalling while active!";
goto noway;
goto okay;
# Make sure there is at least one other node besides the firewalled node.
Supports Markdown
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