summaryrefslogtreecommitdiff
path: root/httemplate/misc/process
diff options
context:
space:
mode:
authorjeff <jeff>2007-03-20 20:11:07 +0000
committerjeff <jeff>2007-03-20 20:11:07 +0000
commit9f4b217a918ce2fd00138fb91f50ee21a2a77bae (patch)
tree22a3d31bb2094276f7369cb7b8be6103c5d37ec8 /httemplate/misc/process
parentac0ffef1dd511febd1ffa851dfd8b3772b968b09 (diff)
acls on new import
Diffstat (limited to 'httemplate/misc/process')
-rw-r--r--httemplate/misc/process/cust_main_note-import.cgi4
1 files changed, 4 insertions, 0 deletions
diff --git a/httemplate/misc/process/cust_main_note-import.cgi b/httemplate/misc/process/cust_main_note-import.cgi
index af06ae95e..efc6224d0 100644
--- a/httemplate/misc/process/cust_main_note-import.cgi
+++ b/httemplate/misc/process/cust_main_note-import.cgi
@@ -22,6 +22,10 @@ The following items <% $op eq 'Preview' ? 'would be' : 'were' %> imported. (See
</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;