finish adding a feature to easily list all email addresses for an agent & send them...
[freeside.git] / FS / FS / AccessRight.pm
index 4071e97..5621a97 100644 (file)
@@ -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,10 +172,11 @@ 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
+    'Add on-the-fly credit reason', #NEW
   ],
   
   ###
@@ -186,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',
@@ -223,6 +231,9 @@ tie my %rights, 'Tie::IxHash',
   'Configuration rights' => [
     'Edit advertising sources',
     { rightname=>'Edit global advertising sources', global=>1 },
+
+    'Edit package definitions',
+    { rightname=>'Edit global package definitions', global=>1 },
   
     'Edit billing events',
     { rightname=>'Edit global billing events', global=>1 },