[freeside-commits] freeside/httemplate/elements menu.html, 1.27, 1.28

Ivan,,, ivan at wavetail.420.am
Mon Oct 1 17:40:55 PDT 2007


Update of /home/cvs/cvsroot/freeside/httemplate/elements
In directory wavetail:/tmp/cvs-serv18525

Modified Files:
	menu.html 
Log Message:
package definitions controlled by their own ACL now

Index: menu.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/elements/menu.html,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -d -r1.27 -r1.28
--- menu.html	23 Sep 2007 18:32:28 -0000	1.27
+++ menu.html	2 Oct 2007 00:40:53 -0000	1.28
@@ -140,7 +140,10 @@
 }
 
 tie my %report_packages, 'Tie::IxHash';
-if ( $curuser->access_right('Configuration') ) {
+if (    $curuser->access_right('Edit package definitions')
+     || $curuser->access_right('Edit global package definitions')
+   )
+{
   $report_packages{'Package definitions'} =  [ $fsurl.'browse/part_pkg.cgi?active=1', 'Package definitions by number of active packages' ];
   $report_packages{'separator'} =  '';
 }



More information about the freeside-commits mailing list