[freeside-commits] freeside/httemplate/elements menu.html, 1.74, 1.75

Mark Wells mark at wavetail.420.am
Mon Dec 28 17:00:32 PST 2009


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

Modified Files:
	menu.html 
Log Message:
Add Browse attachments ACL (RT#4964)

Index: menu.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/elements/menu.html,v
retrieving revision 1.74
retrieving revision 1.75
diff -u -d -r1.74 -r1.75
--- menu.html	28 Dec 2009 19:18:19 -0000	1.74
+++ menu.html	29 Dec 2009 01:00:30 -0000	1.75
@@ -323,7 +323,7 @@
 $tools_menu{'Time Queue'} =  [ $fsurl.'search/report_timeworked.html', 'View pending support time' ]
   if $curuser->access_right('Time queue');
 $tools_menu{'Attachments'} = [ $fsurl.'browse/cust_attachment.html', 'View customer attachments' ]
-  if !$conf->config('disable_cust_attachment') and $curuser->access_right('View attachments');
+  if !$conf->config('disable_cust_attachment') and $curuser->access_right('View attachments') and $curuser->access_right('Browse attachments');
 $tools_menu{'Importing'} =  [ \%tools_importing, 'Import tools' ]
   if $curuser->access_right('Import');
 $tools_menu{'Exporting'} =  [ \%tools_exporting, 'Export tools' ]



More information about the freeside-commits mailing list