[freeside-commits] freeside/httemplate/view/cust_main attachments.html, 1.3, 1.4

Mark Wells mark at wavetail.420.am
Sun Dec 13 17:41:31 PST 2009


Update of /home/cvs/cvsroot/freeside/httemplate/view/cust_main
In directory wavetail.420.am:/tmp/cvs-serv13283/httemplate/view/cust_main

Modified Files:
	attachments.html 
Log Message:
Add access right to view attachments

Index: attachments.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/view/cust_main/attachments.html,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- attachments.html	17 Nov 2009 00:06:25 -0000	1.3
+++ attachments.html	14 Dec 2009 01:41:29 -0000	1.4
@@ -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'};



More information about the freeside-commits mailing list