diff options
| author | Ivan Kohler <ivan@freeside.biz> | 2017-05-15 10:49:40 -0700 |
|---|---|---|
| committer | Ivan Kohler <ivan@freeside.biz> | 2017-05-15 10:49:40 -0700 |
| commit | 2aeeab8d86e0d828d89949981b220a01036e0a5e (patch) | |
| tree | 94eee76388d93b945e9d7684fbc1bf0f0bae9b74 /FS/FS | |
| parent | e60961f67f140a46563d0b65a81a035aabf0bc86 (diff) | |
separate edit and delete rights for customer notes, RT#76001
Diffstat (limited to 'FS/FS')
| -rw-r--r-- | FS/FS/AccessRight.pm | 1 | ||||
| -rw-r--r-- | FS/FS/access_right.pm | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/FS/FS/AccessRight.pm b/FS/FS/AccessRight.pm index 42db7e0e5..09d49873d 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 f7b16862f..b39e52b72 100644 --- a/FS/FS/access_right.pm +++ b/FS/FS/access_right.pm @@ -260,6 +260,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 ) { |
