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:
authorMārtiņš Tālbergs <martins.talbergs@zabbix.com>2020-10-16 09:11:14 +0300
committerMārtiņš Tālbergs <martins.talbergs@zabbix.com>2020-10-16 09:14:37 +0300
commitacc1dc10109f42331bb5205d16f406871ddff375 (patch)
tree582a26779af9dc46df6f9f9c82097cb43513a2ef /ui/host_prototypes.php
parent7bad4e2cd10ea3b23b153554b93f40b1fc535da5 (diff)
..F....... [ZBXNEXT-6148] implemented template access rule Configuration->Hosts subsections
- Configuration->Hosts->Applications - Configuration->Hosts->Items - Configuration->Hosts->Items->Trigger PoPup - Configuration->Hosts->Triggers - Configuration->Hosts->Graphs - Configuration->Hosts->LLD - Configuration->Hosts->LLD->Item - Configuration->Hosts->LLD->Trigger - Configuration->Hosts->LLD->Graph - Configuration->Hosts->LLD->Host - Configuration->Hosts->Web
Diffstat (limited to 'ui/host_prototypes.php')
-rw-r--r--ui/host_prototypes.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/host_prototypes.php b/ui/host_prototypes.php
index 130895678e0..71557452dc0 100644
--- a/ui/host_prototypes.php
+++ b/ui/host_prototypes.php
@@ -626,6 +626,7 @@ else {
}
$data['tags'] = makeTags($data['hostPrototypes'], true, 'hostid');
+ $data['allowed_ui_conf_templates'] = CWebUser::checkAccess(CRoleHelper::UI_CONFIGURATION_TEMPLATES);
// render view
echo (new CView('configuration.host.prototype.list', $data))->getOutput();