Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Major
-
Resolution: Cannot Reproduce
-
Affects Version/s: 3.3.5
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
Description
Step to reproduce:
create a module with
function test_civicrm_aclWhereClause( $type, &$tables, &$whereTables, &$contactID, &$where ) {
die ("Here be dragons");
}
And a user with access to civicrm but not access all contacts.
When you do a contact/search, you die as expected, but if you use the autocomplete for relationship:
it doesn't (and doesn't return any contact).
Is is the same issue for the list if you press enter
http://example.crm/civicrm/contact/view/rel?snippet=4&type=Relationship&subType=14&qfKey=d400348b91fb59c001c4a80605484600_9778&cgcount=1
X+
P.S. For the love of API, why isn't it using the "get" function instead of that getContactList ? (if good reason, at least should migrate it to api v3, ping me if needed)