summaryrefslogtreecommitdiff
path: root/httemplate/search/svc_external.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/search/svc_external.cgi')
-rwxr-xr-xhttemplate/search/svc_external.cgi3
1 files changed, 3 insertions, 0 deletions
diff --git a/httemplate/search/svc_external.cgi b/httemplate/search/svc_external.cgi
index 5502bfc25..2710d75bc 100755
--- a/httemplate/search/svc_external.cgi
+++ b/httemplate/search/svc_external.cgi
@@ -1,3 +1,6 @@
+%die "access denied"
+% unless $FS::CurrentUser::CurrentUser->access_right('List services');
+%
%my $conf = new FS::Conf;
%
%my @svc_external = ();