[freeside-commits] branch FREESIDE_4_BRANCH updated. 03942fec59507eee405e547692a649fc01cc7ff6

Ivan ivan at 420.am
Mon Sep 28 20:17:43 PDT 2015


The branch, FREESIDE_4_BRANCH has been updated
       via  03942fec59507eee405e547692a649fc01cc7ff6 (commit)
      from  8018887c854aa1526d15f853dc51c2c337845f49 (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 03942fec59507eee405e547692a649fc01cc7ff6
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Mon Sep 28 20:17:42 2015 -0700

    remove credit voiding ACL, RT#37908

diff --git a/httemplate/edit/process/cust_credit_bill.cgi b/httemplate/edit/process/cust_credit_bill.cgi
index d3847dc..db15eac 100755
--- a/httemplate/edit/process/cust_credit_bill.cgi
+++ b/httemplate/edit/process/cust_credit_bill.cgi
@@ -12,8 +12,7 @@ die "access denied"
 
 if ( $cgi->param('src_amount') ) {
   die "access denied"
-    unless ( $FS::CurrentUser::CurrentUser->access_right('Post credit') &&
-           $FS::CurrentUser::CurrentUser->access_right('Delete credit') );
+    unless $FS::CurrentUser::CurrentUser->access_right('Post credit')
 }
 
 </%init>

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

Summary of changes:
 httemplate/edit/process/cust_credit_bill.cgi |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)




More information about the freeside-commits mailing list