diff --git a/frontend/module.vps.php b/frontend/module.vps.php index 2bf67f0..81b2d3a 100644 --- a/frontend/module.vps.php +++ b/frontend/module.vps.php @@ -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."); }