From e7c64170a51ebe74804bebc7fd7a64f51c942ef8 Mon Sep 17 00:00:00 2001 From: Sven Slootweg Date: Mon, 7 May 2012 17:21:44 +0200 Subject: [PATCH] Allow access to any VPS panel for node admins --- frontend/module.vps.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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."); }