diff options
author | jeff <jeff> | 2007-03-20 20:11:07 +0000 |
---|---|---|
committer | jeff <jeff> | 2007-03-20 20:11:07 +0000 |
commit | 9f4b217a918ce2fd00138fb91f50ee21a2a77bae (patch) | |
tree | 22a3d31bb2094276f7369cb7b8be6103c5d37ec8 /httemplate/misc/process | |
parent | ac0ffef1dd511febd1ffa851dfd8b3772b968b09 (diff) |
acls on new import
Diffstat (limited to 'httemplate/misc/process')
-rw-r--r-- | httemplate/misc/process/cust_main_note-import.cgi | 4 |
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; |