Allow access to any VPS panel for node admins

feature/node-rewrite
Sven Slootweg 13 years ago
parent c63b008055
commit e7c64170a5

@ -17,7 +17,7 @@ try
{
$sContainer = new Container($mainrouter->uParameters[1]);
if($sContainer->sUserId != $sUser->sId)
if($sContainer->sUserId != $sUser->sId && $sUser->sAccessLevel < 20)
{
throw new UnauthorizedException("You are not authorized to control this container.");
}

Loading…
Cancel
Save