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/CControllerUsergroupUpdate.php')
-rw-r--r--ui/app/controllers/CControllerUsergroupUpdate.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/app/controllers/CControllerUsergroupUpdate.php b/ui/app/controllers/CControllerUsergroupUpdate.php
index 882f2f9e855..4bfe58fde90 100644
--- a/ui/app/controllers/CControllerUsergroupUpdate.php
+++ b/ui/app/controllers/CControllerUsergroupUpdate.php
@@ -64,7 +64,7 @@ class CControllerUsergroupUpdate extends CController {
}
protected function checkPermissions() {
- return ($this->getUserType() == USER_TYPE_SUPER_ADMIN);
+ return $this->checkAccess(CRoleHelper::UI_ADMINISTRATION_USER_GROUPS);
}
protected function doAction() {