send commission reports by email, #33101
[freeside.git] / FS / FS / AccessRight.pm
index 0493edd..53c7cf6 100644 (file)
@@ -184,7 +184,6 @@ tie my %rights, 'Tie::IxHash',
     'Resend invoices', #NEWNEW
     'Void invoices',
     'Unvoid invoices',
-    'Delete invoices',
     'View customer tax exemptions', #yow
     'Edit customer tax exemptions', #NEWNEW
     'Add customer tax adjustment', #new, but no need to phase in
@@ -289,6 +288,7 @@ tie my %rights, 'Tie::IxHash',
     'Billing event reports',
     'Receivables report',
     'Financial reports',
+    { rightname=>'Send reports to customers', global=>1 },
     { rightname=> 'List inventory', global=>1 },
     { rightname=>'View email logs', global=>1 },
     { rightname=>'View system logs' },
@@ -441,7 +441,6 @@ Most (but not all) right names.
 sub default_superuser_rights {
   my $class = shift;
   my %omit = map { $_=>1 } (
-    'Delete invoices',
     'Delete payment',
     'Delete credit', #?
     'Delete refund', #?