[freeside-commits] branch master updated. 4e63920a6b29e4e0b2321f80427211816d697612

Ivan ivan at 420.am
Tue Jul 21 15:25:36 PDT 2015


The branch, master has been updated
       via  4e63920a6b29e4e0b2321f80427211816d697612 (commit)
      from  164e0da4c66b354bb35bf0af54a1f28555f0bf2a (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 4e63920a6b29e4e0b2321f80427211816d697612
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Tue Jul 21 15:25:34 2015 -0700

    remove "Delete invoices" ACL, RT#37157

diff --git a/FS/FS/AccessRight.pm b/FS/FS/AccessRight.pm
index 0493edd..9274ad8 100644
--- a/FS/FS/AccessRight.pm
+++ b/FS/FS/AccessRight.pm
@@ -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
@@ -441,7 +440,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', #?

-----------------------------------------------------------------------

Summary of changes:
 FS/FS/AccessRight.pm |    2 --
 1 file changed, 2 deletions(-)




More information about the freeside-commits mailing list