summaryrefslogtreecommitdiff
path: root/httemplate/search/report_tax.html
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/search/report_tax.html')
-rwxr-xr-xhttemplate/search/report_tax.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/httemplate/search/report_tax.html b/httemplate/search/report_tax.html
index 6e78d354a..35b290c19 100755
--- a/httemplate/search/report_tax.html
+++ b/httemplate/search/report_tax.html
@@ -34,3 +34,9 @@
</FORM>
<% include('/elements/footer.html') %>
+<%init>
+
+die "access denied"
+ unless $FS::CurrentUser::CurrentUser->access_right('Financial reports');
+
+</%init>