Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed CRM-20333: search menu visible even when a user does not has access to any contacts. #10040

Merged
merged 1 commit into from
Apr 4, 2017

Conversation

jaapjansma
Copy link
Contributor

@jaapjansma jaapjansma commented Mar 23, 2017

See https://issues.civicrm.org/jira/browse/CRM-20333

This is a breakdown of the solution and refactor for issue CRM-19934


@eileenmcnaughton
Copy link
Contributor

@jaapjansma I agree that giveMeAllACLs is wrong - but should it be a check as to whether
civicrm_api3('Contact', 'getcount', array('options' => array('limit' => 1)) is greater than 0 ?

I think we use that approach somewhere else

@eileenmcnaughton eileenmcnaughton merged commit 8ac92a8 into civicrm:master Apr 4, 2017
@eileenmcnaughton
Copy link
Contributor

i've merged this as I agree it is better - but I think it would be good to follow up & display based on getcount

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants