summaryrefslogtreecommitdiff
path: root/httemplate/elements
diff options
context:
space:
mode:
authormark <mark>2009-12-14 01:41:29 +0000
committermark <mark>2009-12-14 01:41:29 +0000
commitd84fbd3987192e9bece5fc074dd7507dd1e2c7b7 (patch)
tree9b85902000fd523d9824219036d716109ffe62fc /httemplate/elements
parent3fa2bc364fc6810b7ce8a02d27e7062ff850ee9d (diff)
Add access right to view attachments
Diffstat (limited to 'httemplate/elements')
-rw-r--r--httemplate/elements/menu.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/elements/menu.html b/httemplate/elements/menu.html
index b039e78e8..caf227409 100644
--- a/httemplate/elements/menu.html
+++ b/httemplate/elements/menu.html
@@ -323,7 +323,7 @@ $tools_menu{'Ticketing'} = [ \%tools_ticketing, 'Ticketing tools' ]
$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' ]