summaryrefslogtreecommitdiff
path: root/httemplate/misc/cdr-import.html
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/misc/cdr-import.html')
-rw-r--r--httemplate/misc/cdr-import.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/httemplate/misc/cdr-import.html b/httemplate/misc/cdr-import.html
index 5e9e2690d..36b2e4cb0 100644
--- a/httemplate/misc/cdr-import.html
+++ b/httemplate/misc/cdr-import.html
@@ -14,3 +14,9 @@ Filename: <INPUT TYPE="file" NAME="csvfile"><BR><BR>
<% include('/elements/footer.html') %>
+<%init>
+
+die "access denied"
+ unless $FS::CurrentUser::CurrentUser->access_right('Import');
+
+</%init>