summaryrefslogtreecommitdiff
path: root/httemplate/search/cust_main-otaker.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/search/cust_main-otaker.cgi')
-rwxr-xr-xhttemplate/search/cust_main-otaker.cgi6
1 files changed, 6 insertions, 0 deletions
diff --git a/httemplate/search/cust_main-otaker.cgi b/httemplate/search/cust_main-otaker.cgi
index 210172fc0..0c252e44b 100755
--- a/httemplate/search/cust_main-otaker.cgi
+++ b/httemplate/search/cust_main-otaker.cgi
@@ -23,3 +23,9 @@ Search for <B>Order taker</B>:
</FORM>
<% include('/elements/footer.html') %>
+<%init>
+
+die "access denied"
+ unless $FS::CurrentUser::CurrentUser->access_right('Configuration');
+
+</%init>