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-19 15:04:31 +0300
committerVladimirs Maksimovs <vladimirs.maksimovs@zabbix.com>2020-10-19 15:04:31 +0300
commit2b7a3720406796eeafd8fc356d88260ab11c6849 (patch)
tree2aedbc35802a7d54b15210ce5bb8c694cc3e52e8 /ui/app/controllers/CControllerTrigDisplayUpdate.php
parent9eef9cbd7addcd89c9b3fa09ca769702280721ed (diff)
..F....... [ZBXNEXT-6148] fixed access check for trigger displaying options page
Diffstat (limited to 'ui/app/controllers/CControllerTrigDisplayUpdate.php')
-rw-r--r--ui/app/controllers/CControllerTrigDisplayUpdate.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/app/controllers/CControllerTrigDisplayUpdate.php b/ui/app/controllers/CControllerTrigDisplayUpdate.php
index f9ec29d2ea6..638f8bbbcd0 100644
--- a/ui/app/controllers/CControllerTrigDisplayUpdate.php
+++ b/ui/app/controllers/CControllerTrigDisplayUpdate.php
@@ -65,7 +65,7 @@ class CControllerTrigDisplayUpdate extends CController {
}
protected function checkPermissions() {
- return ($this->getUserType() == USER_TYPE_SUPER_ADMIN);
+ return $this->checkAccess(CRoleHelper::UI_ADMINISTRATION_GENERAL);
}
protected function doAction() {