From 94667348a71b2d7186861871ec6516958e6c4583 Mon Sep 17 00:00:00 2001 From: mark Date: Fri, 14 Aug 2009 17:24:18 +0000 Subject: [PATCH] Move note/attachment rights to new section --- FS/FS/AccessRight.pm | 24 +++++++++++++++--------- 1 file 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... -- 2.11.0