summaryrefslogtreecommitdiff
path: root/FS
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2017-05-15 10:49:38 -0700
committerIvan Kohler <ivan@freeside.biz>2017-05-15 10:49:38 -0700
commit1cd83e5112019111a8f6c16eacd5264a95abcfb2 (patch)
treef2168c6a593233a54de0a67bbc0a0f7390d2f1e4 /FS
parent9d1c56465919772772ec8b11fec196c8506865bb (diff)
separate edit and delete rights for customer notes, RT#76001
Diffstat (limited to '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 285a770fc..2d959532b 100644
--- a/FS/FS/AccessRight.pm
+++ b/FS/FS/AccessRight.pm
@@ -258,6 +258,7 @@ tie my %rights, 'Tie::IxHash',
'Customer note and attachment rights' => [
'Add customer note', #NEW
'Edit customer note', #NEW
+ 'Delete customer note', #NEWEST
'View attachments', #NEW
'Browse attachments', #NEW
'Download attachment', #NEW
diff --git a/FS/FS/access_right.pm b/FS/FS/access_right.pm
index 1a0a1cb30..f1614ff30 100644
--- a/FS/FS/access_right.pm
+++ b/FS/FS/access_right.pm
@@ -258,6 +258,7 @@ sub _upgrade_data { # class method
],
'Resend invoices' => 'Print and mail invoices',
'List customers' => 'Customers: Customer churn report',
+ 'Edit customer note' => 'Delete customer note',
);
# foreach my $old_acl ( keys %onetime ) {