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

Mark Wells mark at wavetail.420.am
Sun Dec 13 17:41:12 PST 2009


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

Modified Files:
      Tag: FREESIDE_1_9_BRANCH
	menu.html 
Log Message:
Add access right to view attachments

Index: menu.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/elements/menu.html,v
retrieving revision 1.68.2.2
retrieving revision 1.68.2.3
diff -u -d -r1.68.2.2 -r1.68.2.3
--- menu.html	24 Nov 2009 01:11:21 -0000	1.68.2.2
+++ menu.html	14 Dec 2009 01:41:10 -0000	1.68.2.3
@@ -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');
+  if !$conf->config('disable_cust_attachment') and $curuser->access_right('View 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