[freeside-commits] branch FREESIDE_4_BRANCH updated. 8e927de64cab74f05bde5f0ceb4bd9995e18b31c
Ivan
ivan at 420.am
Wed Apr 26 18:00:06 PDT 2017
The branch, FREESIDE_4_BRANCH has been updated
via 8e927de64cab74f05bde5f0ceb4bd9995e18b31c (commit)
from 44230b9d45c12920f5528ba5d3e4b11ec5dd5757 (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 8e927de64cab74f05bde5f0ceb4bd9995e18b31c
Author: Ivan Kohler <ivan at freeside.biz>
Date: Wed Apr 26 18:00:05 2017 -0700
fix customer searching with "List customers" right but not "List all customers", RT#75012
diff --git a/httemplate/search/cust_main.cgi b/httemplate/search/cust_main.cgi
index 65b8c05..74cc5f3 100755
--- a/httemplate/search/cust_main.cgi
+++ b/httemplate/search/cust_main.cgi
@@ -330,7 +330,8 @@
my $curuser = $FS::CurrentUser::CurrentUser;
die "access denied"
- unless $curuser->access_right('List all customers');
+ unless $curuser->access_right('List all customers')
+ || $curuser->access_right('List customers');
my $conf = new FS::Conf;
my $maxrecords = $conf->config('maxsearchrecordsperpage') || 100;
-----------------------------------------------------------------------
Summary of changes:
httemplate/search/cust_main.cgi | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
More information about the freeside-commits
mailing list