[freeside-commits] freeside/httemplate/edit cust_main_attach.cgi, 1.4, 1.5

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


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

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

Index: cust_main_attach.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/cust_main_attach.cgi,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- cust_main_attach.cgi	17 Nov 2009 00:06:24 -0000	1.4
+++ cust_main_attach.cgi	14 Dec 2009 01:41:28 -0000	1.5
@@ -44,6 +44,7 @@
 <%init>
 
 my $curuser = $FS::CurrentUser::CurrentUser;
+die "access denied" if !$curuser->access_right('View attachments');
 my $attachnum = '';
 my $attach;
 if ( $cgi->param('error') ) {



More information about the freeside-commits mailing list