[freeside-commits] freeside/httemplate/misc/process
cust_main_note-import.cgi, 1.1, 1.2
Jeff Finucane,420,,
jeff at wavetail.420.am
Tue Mar 20 13:11:09 PDT 2007
Update of /home/cvs/cvsroot/freeside/httemplate/misc/process
In directory wavetail:/tmp/cvs-serv16008/process
Modified Files:
cust_main_note-import.cgi
Log Message:
acls on new import
Index: cust_main_note-import.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/misc/process/cust_main_note-import.cgi,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- cust_main_note-import.cgi 20 Mar 2007 17:03:43 -0000 1.1
+++ cust_main_note-import.cgi 20 Mar 2007 20:11:07 -0000 1.2
@@ -22,6 +22,10 @@
</PRE>
<%init>
+
+die "access denied"
+ unless $FS::CurrentUser::CurrentUser->access_right('Import');
+
my $date = time;
my $otaker = $FS::CurrentUser::CurrentUser->username;
my $csv = new Text::CSV_XS;
More information about the freeside-commits
mailing list