mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-06-13 02:07:02 +02:00
updated the group handling + revised admin permissions
This commit is contained in:
@ -19,7 +19,7 @@ class ControllerHealthHealth extends Controller {
|
||||
|
||||
/* check if we are admin */
|
||||
|
||||
if(Registry::get('admin_user') != 1 && Registry::get('readonly_admin') != 1 && Registry::get('auditor_admin') != 1) {
|
||||
if(Registry::get('admin_user') != 1 && Registry::get('readonly_admin') != 1) {
|
||||
$this->template = "common/error.tpl";
|
||||
$this->data['errorstring'] = $this->data['text_you_are_not_admin'];
|
||||
}
|
||||
|
Reference in New Issue
Block a user