[freeside-commits] freeside/httemplate/elements menu.html, 1.68.2.3, 1.68.2.4

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


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

Modified Files:
      Tag: FREESIDE_1_9_BRANCH
	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.68.2.3
retrieving revision 1.68.2.4
diff -u -d -r1.68.2.3 -r1.68.2.4
--- menu.html	14 Dec 2009 01:41:10 -0000	1.68.2.3
+++ menu.html	29 Dec 2009 01:00:48 -0000	1.68.2.4
@@ -323,7 +323,7 @@
 $tools_menu{'Time Queue'} =  [ $fsurl.'search/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