[freeside-commits] freeside/httemplate/elements menu.html, 1.72, 1.73
Mark Wells
mark at wavetail.420.am
Sun Dec 13 17:41:31 PST 2009
Update of /home/cvs/cvsroot/freeside/httemplate/elements
In directory wavetail.420.am:/tmp/cvs-serv13283/httemplate/elements
Modified Files:
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.72
retrieving revision 1.73
diff -u -d -r1.72 -r1.73
--- menu.html 24 Nov 2009 07:23:58 -0000 1.72
+++ menu.html 14 Dec 2009 01:41:29 -0000 1.73
@@ -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');
+ 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