projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add access right to view attachments
[freeside.git]
/
httemplate
/
view
/
cust_main
/
attachments.html
diff --git
a/httemplate/view/cust_main/attachments.html
b/httemplate/view/cust_main/attachments.html
index
dbb29a7
..
b16a81e
100755
(executable)
--- 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'};