summaryrefslogtreecommitdiff
path: root/httemplate/elements
diff options
context:
space:
mode:
authorlevinse <levinse>2011-05-15 01:43:40 +0000
committerlevinse <levinse>2011-05-15 01:43:40 +0000
commitb412c2545d8862278343adc1ef17cc297e11ad6d (patch)
treea74b41e8844a4ef3ff0e26d9c7204048c70b7e8b /httemplate/elements
parentbe40a9fa3750374b32f2aa31e8807433c05d7817 (diff)
torrus: add new access rights, add SNMP community option, RT10574
Diffstat (limited to 'httemplate/elements')
-rw-r--r--httemplate/elements/menu.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/httemplate/elements/menu.html b/httemplate/elements/menu.html
index e28beb760..5e2e54835 100644
--- a/httemplate/elements/menu.html
+++ b/httemplate/elements/menu.html
@@ -638,7 +638,8 @@ if ( $conf->config('ticket_system') ) {
],
}
-if ( $conf->config('network_monitoring_system') eq 'Torrus_Internal' ) {
+if ( $conf->config('network_monitoring_system') eq 'Torrus_Internal' &&
+ $curuser->access_right('Configure network monitoring') ) {
$menu{'Network Main'} =
[ $fsurl.'torrus/main', 'Network monitoring start page' ],
}