Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zabbix/zabbix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'ui/app/controllers/CControllerRegExDelete.php')
-rw-r--r--ui/app/controllers/CControllerRegExDelete.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/app/controllers/CControllerRegExDelete.php b/ui/app/controllers/CControllerRegExDelete.php
index 3afb6f762f0..e772d89a492 100644
--- a/ui/app/controllers/CControllerRegExDelete.php
+++ b/ui/app/controllers/CControllerRegExDelete.php
@@ -40,7 +40,7 @@ class CControllerRegExDelete extends CController {
}
protected function checkPermissions() {
- if ($this->getUserType() != USER_TYPE_SUPER_ADMIN) {
+ if (!$this->checkAccess(CRoleHelper::UI_ADMINISTRATION_GENERAL)) {
return false;
}