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:
authorVladimirs Maksimovs <vladimirs.maksimovs@zabbix.com>2020-10-06 11:44:25 +0300
committerVladimirs Maksimovs <vladimirs.maksimovs@zabbix.com>2020-10-06 11:44:25 +0300
commit4fbea8a644d14c731f2f9c7793f124dfb49575d6 (patch)
tree2405561b092480b207395088e0d207b3d673fbd0 /ui/app/controllers/CControllerUsergroupUpdate.php
parent6284344e0519dea6af5837e0dcf4b395644e423a (diff)
..F....... [ZBXNEXT-6148] added access check by role rules to part of controllers
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() {