diff options
author | mark <mark> | 2009-12-14 01:41:29 +0000 |
---|---|---|
committer | mark <mark> | 2009-12-14 01:41:29 +0000 |
commit | d84fbd3987192e9bece5fc074dd7507dd1e2c7b7 (patch) | |
tree | 9b85902000fd523d9824219036d716109ffe62fc /httemplate/view/cust_main | |
parent | 3fa2bc364fc6810b7ce8a02d27e7062ff850ee9d (diff) |
Add access right to view attachments
Diffstat (limited to 'httemplate/view/cust_main')
-rwxr-xr-x | httemplate/view/cust_main/attachments.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/view/cust_main/attachments.html b/httemplate/view/cust_main/attachments.html index dbb29a7c0..b16a81eae 100755 --- a/httemplate/view/cust_main/attachments.html +++ b/httemplate/view/cust_main/attachments.html @@ -109,7 +109,7 @@ my $conf = new FS::Conf; my $curuser = $FS::CurrentUser::CurrentUser; - +die "access denied" if !$curuser->access_right('View attachments'); my(%opt) = @_; my $custnum = $opt{'custnum'}; |