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/trigger_prototypes.php')
-rw-r--r--ui/trigger_prototypes.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/trigger_prototypes.php b/ui/trigger_prototypes.php
index 6c086088232..3b92323d56e 100644
--- a/ui/trigger_prototypes.php
+++ b/ui/trigger_prototypes.php
@@ -691,6 +691,7 @@ else {
}
$data['parent_templates'] = getTriggerParentTemplates($data['triggers'], ZBX_FLAG_DISCOVERY_PROTOTYPE);
+ $data['allowed_ui_conf_templates'] = CWebUser::checkAccess(CRoleHelper::UI_CONFIGURATION_TEMPLATES);
// Render view.
echo (new CView('configuration.trigger.prototype.list', $data))->getOutput();