summaryrefslogtreecommitdiff
path: root/httemplate/search/report_cdr.html
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/search/report_cdr.html')
-rw-r--r--httemplate/search/report_cdr.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/httemplate/search/report_cdr.html b/httemplate/search/report_cdr.html
index c480c05f1..819ba2195 100644
--- a/httemplate/search/report_cdr.html
+++ b/httemplate/search/report_cdr.html
@@ -9,4 +9,9 @@ Status: <SELECT NAME="freesidestatus">
<INPUT TYPE="submit" VALUE="Search Call Detail Records">
<% include('/elements/footer.html') %>
+<%init>
+die "access denied"
+ unless $FS::CurrentUser::CurrentUser->access_right('List rating data');
+
+</%init>