From 97e6cec67c0c99ce1b6f0667a09f1e009100189d Mon Sep 17 00:00:00 2001 From: ivan Date: Sun, 13 Jan 2008 21:14:32 +0000 Subject: ACLs --- httemplate/misc/cust_main-import.cgi | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'httemplate/misc/cust_main-import.cgi') 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!*!; + +<%init> + +die "access denied" + unless $FS::CurrentUser::CurrentUser->access_right('Import'); + + -- cgit v1.2.1