summaryrefslogtreecommitdiff
path: root/httemplate/graph
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2017-04-26 18:21:06 -0700
committerIvan Kohler <ivan@freeside.biz>2017-04-26 18:21:06 -0700
commita023312fbe3f64d119852581a295945b11ef4575 (patch)
tree6c11501df6a57bceffc48750756e612247f64b88 /httemplate/graph
parent7a1434e52b4c726ccb691026e2bf8240fae5b6f7 (diff)
add a separate ACL for churn report, RT#75012
Diffstat (limited to 'httemplate/graph')
-rw-r--r--httemplate/graph/cust_churn.html2
-rw-r--r--httemplate/graph/report_cust_churn.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/httemplate/graph/cust_churn.html b/httemplate/graph/cust_churn.html
index 07193c776..1777b05fd 100644
--- a/httemplate/graph/cust_churn.html
+++ b/httemplate/graph/cust_churn.html
@@ -18,7 +18,7 @@
my $curuser = $FS::CurrentUser::CurrentUser;
die "access denied"
- unless $curuser->access_right('List customers');
+ unless $curuser->access_right('Customers: Customer churn report');
my( $agentnum, $agent ) = ('', '');
if ( $cgi->param('agentnum') =~ /^(\d+)$/ ) {
diff --git a/httemplate/graph/report_cust_churn.html b/httemplate/graph/report_cust_churn.html
index 3f942777f..7065544dd 100644
--- a/httemplate/graph/report_cust_churn.html
+++ b/httemplate/graph/report_cust_churn.html
@@ -27,6 +27,6 @@
<%init>
die "access denied"
- unless $FS::CurrentUser::CurrentUser->access_right('List customers');
+ unless $FS::CurrentUser::CurrentUser->access_right('Customers: Customer churn report');
</%init>