summaryrefslogtreecommitdiff
path: root/httemplate/graph/report_money_time.html
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/graph/report_money_time.html')
-rw-r--r--httemplate/graph/report_money_time.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/httemplate/graph/report_money_time.html b/httemplate/graph/report_money_time.html
index b80696b65..652d7152e 100644
--- a/httemplate/graph/report_money_time.html
+++ b/httemplate/graph/report_money_time.html
@@ -31,3 +31,9 @@
</FORM>
<% include('/elements/footer.html') %>
+<%init>
+
+die "access denied"
+ unless $FS::CurrentUser::CurrentUser->access_right('Financial reports');
+
+</%init>