summaryrefslogtreecommitdiff
path: root/FS/FS
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2017-08-25 15:31:56 -0700
committerIvan Kohler <ivan@freeside.biz>2017-08-25 15:31:56 -0700
commit5a8140c9027c5c035ac0ed42e053f27231edd0ba (patch)
tree51cff93925c2e4065d9b4b03050ed4f2879cb8b1 /FS/FS
parentc5e968992dcf349bbc2862909c70204fe4b980f9 (diff)
separate access control for payment reports, RT#77007
Diffstat (limited to 'FS/FS')
-rw-r--r--FS/FS/AccessRight.pm1
-rw-r--r--FS/FS/access_right.pm1
2 files changed, 2 insertions, 0 deletions
diff --git a/FS/FS/AccessRight.pm b/FS/FS/AccessRight.pm
index 8a81089..ce4fe9f 100644
--- a/FS/FS/AccessRight.pm
+++ b/FS/FS/AccessRight.pm
@@ -291,6 +291,7 @@ tie my %rights, 'Tie::IxHash',
{ rightname=> 'List rating data', desc=>'Usage reports', global=>1 },
'Billing event reports',
'Receivables report',
+ 'Basic payment and refund reports',
'Financial reports',
{ rightname=>'Send reports to customers', global=>1 },
{ rightname=> 'List inventory', global=>1 },
diff --git a/FS/FS/access_right.pm b/FS/FS/access_right.pm
index 309d12e..3031815 100644
--- a/FS/FS/access_right.pm
+++ b/FS/FS/access_right.pm
@@ -263,6 +263,7 @@ sub _upgrade_data { # class method
'List customers' => 'Customers: Customer churn report',
'Edit customer note' => 'Delete customer note',
'Edit customer' => 'Edit customer invoice terms',
+ 'Financial reports' => 'Basic payment and refund reports',
);
# foreach my $old_acl ( keys %onetime ) {