[freeside-commits] freeside/httemplate/elements menu.html, 1.129.2.5, 1.129.2.6
Ivan,,,
ivan at wavetail.420.am
Thu Dec 8 17:02:12 PST 2011
Update of /home/cvs/cvsroot/freeside/httemplate/elements
In directory wavetail.420.am:/tmp/cvs-serv13150/httemplate/elements
Modified Files:
Tag: FREESIDE_2_3_BRANCH
menu.html
Log Message:
Add "View email logs" ACL - "View customers of all agents" was definitely not the right ACL there
Index: menu.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/elements/menu.html,v
retrieving revision 1.129.2.5
retrieving revision 1.129.2.6
diff -u -w -d -r1.129.2.5 -r1.129.2.6
--- menu.html 14 Nov 2011 04:31:32 -0000 1.129.2.5
+++ menu.html 9 Dec 2011 01:02:10 -0000 1.129.2.6
@@ -413,7 +413,8 @@
$tools_menu{'Attachments'} = [ $fsurl.'browse/cust_attachment.html', 'View customer attachments' ]
if !$conf->config('disable_cust_attachment') and $curuser->access_right('View attachments') and $curuser->access_right('Browse attachments');
$tools_menu{'Outgoing messages'} = [ $fsurl.'search/cust_msg.html', 'View outgoing message log' ] #shouldn't this be in the reports menu?
- if $curuser->access_right('Configuration');
+ if $curuser->access_right('View email logs')
+ || $curuser->access_right('Configuration');
$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