diff options
author | Vladimirs Maksimovs <vladimirs.maksimovs@zabbix.com> | 2020-10-19 15:04:31 +0300 |
---|---|---|
committer | Vladimirs Maksimovs <vladimirs.maksimovs@zabbix.com> | 2020-10-19 15:04:31 +0300 |
commit | 2b7a3720406796eeafd8fc356d88260ab11c6849 (patch) | |
tree | 2aedbc35802a7d54b15210ce5bb8c694cc3e52e8 /ui/app/controllers/CControllerTrigDisplayUpdate.php | |
parent | 9eef9cbd7addcd89c9b3fa09ca769702280721ed (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.php | 2 |
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() { |