From c5f947898b0220efadbcbd9eab71033dfcaa7bbe Mon Sep 17 00:00:00 2001 From: mark Date: Tue, 29 Dec 2009 01:00:30 +0000 Subject: Add Browse attachments ACL (RT#4964) --- httemplate/browse/cust_attachment.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'httemplate/browse/cust_attachment.html') 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; -- cgit v1.2.1