Commit 307ee6e7 authored by Mike Hibler's avatar Mike Hibler

accept "boss+router" as a valid boss role

parent de9abc98
......@@ -3600,7 +3600,7 @@ class elabinelab:
res[0][1] + "/" + res[0][2]);
# Must be the boss node that is making the request.
if res[0][6] != "boss":
if (not (res[0][6] == "boss" or res[0][6] == "boss+router")):
return EmulabResponse(RESPONSE_FORBIDDEN,
output="Must be boss node accessing " +
"elabinelab method for " +
......
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