X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2FAccessRight.pm;h=b164948f2fbcc238b4d4da3bbe4ba6ab6edbf0d1;hb=341ee4847da0f09898b07f35e5b3d43d3b687805;hp=458f9694e8f24a33a266171a9c2c650b803fcb59;hpb=982ded2d929bdcdfa72efa810273f3bc753bf036;p=freeside.git diff --git a/FS/FS/AccessRight.pm b/FS/FS/AccessRight.pm index 458f9694e..b164948f2 100644 --- a/FS/FS/AccessRight.pm +++ b/FS/FS/AccessRight.pm @@ -186,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', @@ -206,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', @@ -251,6 +253,7 @@ tie my %rights, 'Tie::IxHash', ### 'Reporting/listing rights' => [ 'List customers', + 'List all customers', 'List zip codes', #NEW 'List invoices', 'List packages', @@ -262,6 +265,9 @@ tie my %rights, 'Tie::IxHash', 'Receivables report', 'Financial reports', { rightname=> 'List inventory', global=>1 }, + { rightname=>'View email logs', global=>1 }, + + 'Download report data', #{ rightname => 'List customers of all agents', global=>1 }, ], @@ -272,7 +278,8 @@ tie my %rights, 'Tie::IxHash', 'Miscellaneous rights' => [ { rightname=>'Job queue', global=>1 }, { rightname=>'Time queue', global=>1 }, - { rightname=>'Process batches', global=>1 }, #Process payment batches + { rightname=>'Process batches', }, #Process payment batches + { rightname=>'Process global batches', global=>1 }, #Process global payment batches { rightname=>'Reprocess batches', global=>1 }, #Reprocess payment batches { rightname=>'Redownload resolved batches', global=>1 }, #Redownload resolved payment batches { rightname=>'Process invoice batches', }, @@ -364,6 +371,8 @@ sub default_superuser_rights { 'View customers of all agents', 'View/link unlinked services', 'Edit usage', + 'Credit card void', + 'Echeck void', ); no warnings 'uninitialized';