summaryrefslogtreecommitdiff
path: root/httemplate/misc/cust_main-import.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/misc/cust_main-import.cgi')
-rw-r--r--httemplate/misc/cust_main-import.cgi8
1 files changed, 8 insertions, 0 deletions
diff --git a/httemplate/misc/cust_main-import.cgi b/httemplate/misc/cust_main-import.cgi
index bb0c31abe..a4916396e 100644
--- a/httemplate/misc/cust_main-import.cgi
+++ b/httemplate/misc/cust_main-import.cgi
@@ -96,5 +96,13 @@ advertising source table.
<% include('/elements/footer.html') %>
<%once>
+
my $req = qq!<font color="#ff0000">*</font>!;
+
</%once>
+<%init>
+
+die "access denied"
+ unless $FS::CurrentUser::CurrentUser->access_right('Import');
+
+</%init>