From 5bd014b7107ad6ff06e0b43f65d23768608814c0 Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Fri, 2 Jun 2017 14:21:36 -0700 Subject: [PATCH] separate ACL for editing customer invoice terms, RT#75759 --- FS/FS/AccessRight.pm | 1 + FS/FS/access_right.pm | 1 + 2 files changed, 2 insertions(+) diff --git a/FS/FS/AccessRight.pm b/FS/FS/AccessRight.pm index 4bf45a6ea..ededf9efd 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 ba2dd9cc9..c771a1544 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 ) { -- 2.11.0