summaryrefslogtreecommitdiff
path: root/httemplate/browse/cust_attachment.html
diff options
context:
space:
mode:
authormark <mark>2009-12-29 01:00:30 +0000
committermark <mark>2009-12-29 01:00:30 +0000
commitc5f947898b0220efadbcbd9eab71033dfcaa7bbe (patch)
treee078669e365c4e705967fde3bd3ced47b849d89e /httemplate/browse/cust_attachment.html
parent2d7a236d9e0c3a30193d8b115ea9b3ce22ce7444 (diff)
Add Browse attachments ACL (RT#4964)
Diffstat (limited to 'httemplate/browse/cust_attachment.html')
-rwxr-xr-xhttemplate/browse/cust_attachment.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/httemplate/browse/cust_attachment.html b/httemplate/browse/cust_attachment.html
index d95f2b18c..e19259d05 100755
--- a/httemplate/browse/cust_attachment.html
+++ b/httemplate/browse/cust_attachment.html
@@ -62,7 +62,8 @@
<%init>
my $curuser = $FS::CurrentUser::CurrentUser;
-die "access denied" if !$curuser->access-right('View attachments');
+die "access denied" if !$curuser->access_right('View attachments')
+ or !$curuser->access_right('Browse attachments');
my $conf = new FS::Conf;