Details
-
Type: Improvement
-
Status: Done/Fixed
-
Priority: Trivial
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.7
-
Fix Version/s: None
-
Component/s: Core CiviCRM
-
Labels:
-
Versioning Impact:Patch (backwards-compatible bug fixes)
-
Documentation Required?:None
-
Funding Source:Contributed Code
-
Verified?:No
Description
Issue CRM-19934 deals with performance improvements however the suggested fix is huge and therefor I am trying to break it up smaller chunks.
In [#CRM-19934) I made the search menu visible even when the user has not access to any contact records. The reason for doing is that I did a refactor of CRM_Core_Permission class and discovered that the function giveMeAllAcls is used to determine whether the search menu should be visible or not.
I would suggest that is based on permission and not whether the user is allowed to see any contacts.
Attachments
Issue Links
- supplements
-
CRM-19934 Performance improvement on civicrm_acl_contact_cache
- Open
- links to