diff options
author | mark <mark> | 2009-12-14 01:41:11 +0000 |
---|---|---|
committer | mark <mark> | 2009-12-14 01:41:11 +0000 |
commit | 1642d77450f5ecf931bfe94687386583ac3b367d (patch) | |
tree | 694b69ec944b8eb7ead8f505499192fb261c37dc /httemplate/elements | |
parent | 036dda4f6ffa045e4597ffb61d3e86763759d70e (diff) |
Add access right to view attachments
Diffstat (limited to 'httemplate/elements')
-rw-r--r-- | httemplate/elements/menu.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/elements/menu.html b/httemplate/elements/menu.html index 652f4f9d4..4490517d0 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/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' ] |