[freeside-commits] freeside/httemplate/elements menu.html, 1.118, 1.119

Erik Levinson levinse at wavetail.420.am
Sat May 14 18:43:42 PDT 2011


Update of /home/cvs/cvsroot/freeside/httemplate/elements
In directory wavetail.420.am:/tmp/cvs-serv14647/httemplate/elements

Modified Files:
	menu.html 
Log Message:
torrus: add new access rights, add SNMP community option, RT10574

Index: menu.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/elements/menu.html,v
retrieving revision 1.118
retrieving revision 1.119
diff -u -w -d -r1.118 -r1.119
--- menu.html	13 May 2011 20:03:19 -0000	1.118
+++ menu.html	15 May 2011 01:43:40 -0000	1.119
@@ -638,7 +638,8 @@
     ],
 }
 
-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' ],
 }



More information about the freeside-commits mailing list