summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2017-06-02 14:21:17 -0700
committerIvan Kohler <ivan@freeside.biz>2017-06-02 14:21:17 -0700
commit717f2ce998bbe7ee79a92b907f82bee098a773a1 (patch)
treef38348928af916c0aab9e31b2cc2dc797fca18d7
parente92c3b71a6182bdca0831ca4755ae0127e7e5180 (diff)
separate ACL for editing customer invoice terms, RT#75759
-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 2d959532b..9649e5e0c 100644
--- a/FS/FS/AccessRight.pm
+++ b/FS/FS/AccessRight.pm
@@ -109,6 +109,7 @@ tie my %rights, 'Tie::IxHash',
'Edit customer',
'Edit customer tags',
'Edit referring customer',
+ 'Edit customer invoice terms',
'View customer history',
'Suspend customer',
'Unsuspend customer',
diff --git a/FS/FS/access_right.pm b/FS/FS/access_right.pm
index f1614ff30..29c91b00f 100644
--- a/FS/FS/access_right.pm
+++ b/FS/FS/access_right.pm
@@ -259,6 +259,7 @@ sub _upgrade_data { # class method
'Resend invoices' => 'Print and mail invoices',
'List customers' => 'Customers: Customer churn report',
'Edit customer note' => 'Delete customer note',
+ 'Edit customer' => 'Edit customer invoice terms',
);
# foreach my $old_acl ( keys %onetime ) {