[freeside-commits] freeside/httemplate/browse cust_attachment.html, 1.1, 1.2
Mark Wells
mark at wavetail.420.am
Sun Dec 13 17:41:30 PST 2009
Update of /home/cvs/cvsroot/freeside/httemplate/browse
In directory wavetail.420.am:/tmp/cvs-serv13283/httemplate/browse
Modified Files:
cust_attachment.html
Log Message:
Add access right to view attachments
Index: cust_attachment.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/browse/cust_attachment.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- cust_attachment.html 18 Nov 2009 09:09:34 -0000 1.1
+++ cust_attachment.html 14 Dec 2009 01:41:28 -0000 1.2
@@ -62,6 +62,7 @@
<%init>
my $curuser = $FS::CurrentUser::CurrentUser;
+die "access denied" if !$curuser->access-right('View attachments');
my $conf = new FS::Conf;
More information about the freeside-commits
mailing list