In our HESK System more admins can login... some of them should really not be allowed to edit the settings.
Question:
How to switch off the tabs: general and email.
Thanks

Moderator: mkoch227
Code: Select all
if (hesk_checkPermission('can_man_settings',0))
Code: Select all
if ($_SESSION['id'] == 1)
Code: Select all
hesk_checkPermission('can_man_settings');
Code: Select all
if($_SESSION['id'] != 1) {
hesk_error($hesklang['no_permission'].'<p> </p><p align="center"><a href="index.php">'.$hesklang['click_login'].'</a>');
}