summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--FS/FS/AccessRight.pm24
1 files changed, 15 insertions, 9 deletions
diff --git a/FS/FS/AccessRight.pm b/FS/FS/AccessRight.pm
index 17d2d76fd..fc309fa48 100644
--- a/FS/FS/AccessRight.pm
+++ b/FS/FS/AccessRight.pm
@@ -98,15 +98,6 @@ tie my %rights, 'Tie::IxHash',
'Cancel customer',
'Complimentary customer', #aka users-allow_comp
{ rightname=>'Delete customer', desc=>"Enable customer deletions. Be very careful! Deleting a customer will remove all traces that this customer ever existed! It should probably only be used when auditing a legacy database. Normally, you cancel all of a customer's packages if they cancel service." }, #aka. deletecustomers
- 'Add customer note', #NEW
- 'Edit customer note', #NEW
- 'Download attachment', #NEW
- 'Add attachment', #NEW
- 'Edit attachment', #NEW
- 'Delete attachment', #NEW
- 'View deleted attachments', #NEW
- 'Undelete attachment', #NEW
- 'Purge attachment', #NEW
'Bill customer now', #NEW
'Bulk send customer notices', #NEW
],
@@ -207,6 +198,21 @@ tie my %rights, 'Tie::IxHash',
],
+
+ ###
+ # note/attachment rights...
+ ###
+ 'Customer note and attachment rights' => [
+ 'Add customer note', #NEW
+ 'Edit customer note', #NEW
+ 'Download attachment', #NEW
+ 'Add attachment', #NEW
+ 'Edit attachment', #NEW
+ 'Delete attachment', #NEW
+ 'View deleted attachments', #NEW
+ 'Undelete attachment', #NEW
+ 'Purge attachment', #NEW
+ ],
###
# report/listing rights...