[freeside-commits] branch FREESIDE_3_BRANCH updated. 5bd014b7107ad6ff06e0b43f65d23768608814c0

Ivan ivan at 420.am
Fri Jun 2 14:21:38 PDT 2017


The branch, FREESIDE_3_BRANCH has been updated
       via  5bd014b7107ad6ff06e0b43f65d23768608814c0 (commit)
      from  bd756736dc14bcb0fdb8c4819dc273c584541258 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 5bd014b7107ad6ff06e0b43f65d23768608814c0
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Fri Jun 2 14:21:36 2017 -0700

    separate ACL for editing customer invoice terms, RT#75759

diff --git a/FS/FS/AccessRight.pm b/FS/FS/AccessRight.pm
index 4bf45a6..ededf9e 100644
--- a/FS/FS/AccessRight.pm
+++ b/FS/FS/AccessRight.pm
@@ -110,6 +110,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 ba2dd9c..c771a15 100644
--- a/FS/FS/access_right.pm
+++ b/FS/FS/access_right.pm
@@ -255,6 +255,7 @@ sub _upgrade_data { # class method
     'Add on-the-fly credit reason' => 'Add on-the-fly refund reason',
     'Resend invoices' => 'Print and mail invoices',
     'List customers' => 'Customers: Customer churn report',
+    'Edit customer' => 'Edit customer invoice terms',
   );
 
 #  foreach my $old_acl ( keys %onetime ) {

-----------------------------------------------------------------------

Summary of changes:
 FS/FS/AccessRight.pm  |    1 +
 FS/FS/access_right.pm |    1 +
 2 files changed, 2 insertions(+)




More information about the freeside-commits mailing list