summaryrefslogtreecommitdiff
path: root/httemplate/search/cust_pkg_summary.html
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/search/cust_pkg_summary.html')
-rw-r--r--httemplate/search/cust_pkg_summary.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/httemplate/search/cust_pkg_summary.html b/httemplate/search/cust_pkg_summary.html
index a0ef47210..8c05f7382 100644
--- a/httemplate/search/cust_pkg_summary.html
+++ b/httemplate/search/cust_pkg_summary.html
@@ -21,4 +21,8 @@
<% include('/elements/footer.html') %>
<%init>
+
+die "access denied"
+ unless $FS::CurrentUser::CurrentUser->access_right('Summarize packages');
+
</%init>