summaryrefslogtreecommitdiff
path: root/httemplate/misc/cust_main_note-import.cgi
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/cust_main_note-import.cgi
parentac0ffef1dd511febd1ffa851dfd8b3772b968b09 (diff)
acls on new import
Diffstat (limited to 'httemplate/misc/cust_main_note-import.cgi')
-rw-r--r--httemplate/misc/cust_main_note-import.cgi7
1 files changed, 7 insertions, 0 deletions
diff --git a/httemplate/misc/cust_main_note-import.cgi b/httemplate/misc/cust_main_note-import.cgi
index 07b922f6c..690ca783d 100644
--- a/httemplate/misc/cust_main_note-import.cgi
+++ b/httemplate/misc/cust_main_note-import.cgi
@@ -198,3 +198,10 @@
</FORM>
</BODY>
</HTML>
+
+<%init>
+
+die "access denied"
+ unless $FS::CurrentUser::CurrentUser->access_right('Import');
+
+</%init>