summaryrefslogtreecommitdiff
path: root/httemplate/search/cust_main.html
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/search/cust_main.html')
-rwxr-xr-xhttemplate/search/cust_main.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/httemplate/search/cust_main.html b/httemplate/search/cust_main.html
index 4f7508447..8ef1ecb9a 100755
--- a/httemplate/search/cust_main.html
+++ b/httemplate/search/cust_main.html
@@ -39,4 +39,9 @@
</UL>
</BODY>
</HTML>
+<%init>
+die "access denied"
+ unless $FS::CurrentUser::CurrentUser->access_right('List customers');
+
+</%init>