diff options
| author | Ivan Kohler <ivan@freeside.biz> | 2017-04-26 18:21:05 -0700 |
|---|---|---|
| committer | Ivan Kohler <ivan@freeside.biz> | 2017-04-26 18:21:05 -0700 |
| commit | 591811b46fb6f51aa93868db6eaba0242d1257ad (patch) | |
| tree | ce6d508c430ad57a2983c0b7789498dbf12de265 /httemplate/graph | |
| parent | 8e927de64cab74f05bde5f0ceb4bd9995e18b31c (diff) | |
add a separate ACL for churn report, RT#75012
Diffstat (limited to 'httemplate/graph')
| -rw-r--r-- | httemplate/graph/cust_churn.html | 2 | ||||
| -rw-r--r-- | httemplate/graph/report_cust_churn.html | 2 |
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> |
