dont show page content for resellers withouth required permissions to actually do something
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
@@ -36,7 +36,7 @@ use Froxlor\UI\Response;
|
||||
|
||||
$id = (int)Request::any('id');
|
||||
|
||||
if ($page == 'cronjobs' || $page == 'overview') {
|
||||
if (($page == 'cronjobs' || $page == 'overview') && $userinfo['change_serversettings'] == '1') {
|
||||
if ($action == '') {
|
||||
$log->logAction(FroxlorLogger::ADM_ACTION, LOG_NOTICE, 'viewed admin_cronjobs');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user