X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;ds=inline;f=FS%2FFS%2FAccessRight.pm;h=4e6eaafe20338f061dc75a01aa2bbed613883d55;hb=36f08ea69b42f3b998a98feb04a5edb1ec81b82b;hp=8ebfc40198c68c4e6333998fe19d16f99f8494aa;hpb=e8a09e945986a32f9b7d0a5d546142ada91654ca;p=freeside.git diff --git a/FS/FS/AccessRight.pm b/FS/FS/AccessRight.pm index 8ebfc4019..4e6eaafe2 100644 --- a/FS/FS/AccessRight.pm +++ b/FS/FS/AccessRight.pm @@ -99,6 +99,8 @@ tie my %rights, 'Tie::IxHash', { 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 + 'Bill customer now', #NEW + 'Bulk send customer notices', #NEW ], ### @@ -125,13 +127,16 @@ tie my %rights, 'Tie::IxHash', # customer service rights ### 'Customer service rights' => [ - 'Edit usage', #NEW - 'Edit home dir', #NEW - 'Edit www config', #NEW 'View customer services', #NEW 'Provision customer service', 'Recharge customer service', #NEW 'Unprovision customer service', + 'Change customer service', #NEWNEW + 'Edit usage', #NEW + 'Edit home dir', #NEW + 'Edit www config', #NEW + 'Edit domain catchall', #NEW + 'Edit domain nameservice', #NEW { rightname=>'View/link unlinked services', global=>1 }, #not agent-virtualizable without more work ], @@ -141,6 +146,7 @@ tie my %rights, 'Tie::IxHash', ### 'Customer invoice / financial info rights' => [ 'View invoices', + 'Resend invoices', #NEWNEW 'View customer tax exemptions', #yow 'View customer batched payments', #NEW 'View customer billing events', #NEW @@ -152,6 +158,7 @@ tie my %rights, 'Tie::IxHash', 'Customer payment rights' => [ 'Post payment', 'Post payment batch', + 'Apply payment', #NEWNEW { rightname=>'Unapply payment', desc=>'Enable "unapplication" of unclosed payments from specific invoices.' }, #aka. unapplypayments 'Process payment', 'Refund payment', @@ -165,7 +172,7 @@ tie my %rights, 'Tie::IxHash', ### 'Customer credit and refund rights' => [ 'Post credit', - #'Apply credit', + 'Apply credit', #NEWNEW { rightname=>'Unapply credit', desc=>'Enable "unapplication" of unclosed credits.' }, #aka unapplycredits { rightname=>'Delete credit', desc=>'Enable deletion of unclosed credits. Be very careful! Only delete credits that were data-entry errors, not adjustments.' }, #aka. deletecredits Optionally specify one or more comma-separated email addresses to be notified when a credit is deleted. 'Delete refund', #NEW @@ -187,7 +194,7 @@ tie my %rights, 'Tie::IxHash', ### # report/listing rights... ### - 'Reprting/listing rights' => [ + 'Reporting/listing rights' => [ 'List customers', 'List zip codes', #NEW 'List invoices', @@ -231,6 +238,9 @@ tie my %rights, 'Tie::IxHash', 'Edit billing events', { rightname=>'Edit global billing events', global=>1 }, + { rightname=>'Engineering configuration' }, + { rightname=>'Engineering global configuration', global=>1 }, + { rightname=>'Configuration', global=>1 }, #most of the rest of the configuraiton is not agent-virtualized ],