X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=FS%2FFS%2FAccessRight.pm;h=56193e443729a9ad6b68a07037e05453b8a74d4f;hp=e7d77b57b567698c72349df1a459b19670270a4e;hb=3c54c844c665ed108c7892a154fd3972fab1f3e5;hpb=f099e0dfa8f438a84d8f1bce36f5e5bda60481e5 diff --git a/FS/FS/AccessRight.pm b/FS/FS/AccessRight.pm index e7d77b57b..56193e443 100644 --- a/FS/FS/AccessRight.pm +++ b/FS/FS/AccessRight.pm @@ -143,6 +143,8 @@ tie my %rights, 'Tie::IxHash', 'Add on-the-fly suspend reason', #NEW 'Edit customer package invoice details', #NEW 'Edit customer package comments', #NEW + 'Qualify service', #NEW + 'Waive setup fee', #NEW ], ### @@ -151,6 +153,7 @@ tie my %rights, 'Tie::IxHash', 'Customer service rights' => [ 'View customer services', #NEW 'Provision customer service', + 'Bulk provision customer service', 'Recharge customer service', #NEW 'Unprovision customer service', 'Change customer service', #NEWNEW @@ -183,6 +186,7 @@ tie my %rights, 'Tie::IxHash', # customer payment rights ### 'Customer payment rights' => [ + 'View payments', { rightname=>'Post payment', desc=>'Make check or cash payments.' }, 'Post check payment', 'Post cash payment', @@ -203,6 +207,7 @@ tie my %rights, 'Tie::IxHash', '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. + 'View refunds', { rightname=>'Post refund', desc=>'Enable posting of check and cash refunds.' }, 'Post check refund', 'Post cash refund', @@ -258,6 +263,7 @@ tie my %rights, 'Tie::IxHash', 'Billing event reports', 'Receivables report', 'Financial reports', + { rightname=> 'List inventory', global=>1 }, #{ rightname => 'List customers of all agents', global=>1 }, ], @@ -268,9 +274,11 @@ tie my %rights, 'Tie::IxHash', 'Miscellaneous rights' => [ { rightname=>'Job queue', global=>1 }, { rightname=>'Time queue', global=>1 }, - { rightname=>'Process batches', global=>1 }, - { rightname=>'Reprocess batches', global=>1 }, - { rightname=>'Redownload resolved batches', global=>1 }, + { rightname=>'Process batches', global=>1 }, #Process payment batches + { rightname=>'Reprocess batches', global=>1 }, #Reprocess payment batches + { rightname=>'Redownload resolved batches', global=>1 }, #Redownload resolved payment batches + { rightname=>'Process invoice batches', }, + { rightname=>'Process global invoice batches', global=>1 }, { rightname=>'Import', global=>1 }, #some of these are ag-virt'ed now? give em their own ACLs { rightname=>'Export', global=>1 }, { rightname=> 'Edit rating data', desc=>'Delete CDRs', global=>1 }, @@ -307,6 +315,8 @@ tie my %rights, 'Tie::IxHash', { rightname=>'Broadband configuration' }, { rightname=>'Broadband global configuration', global=>1 }, + + { rightname=> 'Configure network monitoring', global=>1 }, #{ rightname=>'Edit employees', global=>1, }, #{ rightname=>'Edit employee groupss', global=>1, }, @@ -355,6 +365,9 @@ sub default_superuser_rights { 'Configuration download', 'View customers of all agents', 'View/link unlinked services', + 'Edit usage', + 'Credit card void', + 'Echeck void', ); no warnings 'uninitialized';