separate ACL for editing customer invoice terms, RT#75759
authorIvan Kohler <ivan@freeside.biz>
Fri, 2 Jun 2017 21:21:17 +0000 (14:21 -0700)
committerIvan Kohler <ivan@freeside.biz>
Fri, 2 Jun 2017 21:21:17 +0000 (14:21 -0700)
FS/FS/AccessRight.pm
FS/FS/access_right.pm

index 2d95953..9649e5e 100644 (file)
@@ -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',
index f1614ff..29c91b0 100644 (file)
@@ -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 ) {