summaryrefslogtreecommitdiff
path: root/httemplate/graph
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2017-04-26 18:21:03 -0700
committerIvan Kohler <ivan@freeside.biz>2017-04-26 18:21:03 -0700
commitbeaeb82e3a714f6b086c5fae4b4f2ec509c9978b (patch)
treebb20f6332fc12b9199144fc0868846254d5f661a /httemplate/graph
parent1dc016bb424b246da6d9b53aa0b919d8e071f667 (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>