function crm_core_activity_search_access in CRM Core 7
Implements hook_search_access().
File
- modules/
crm_core_activity/ crm_core_activity.module, line 515 - Provides an entity for recording a contact's activities.
Code
function crm_core_activity_search_access() {
return user_access('administer crm_core_activity entities') || user_access('view any crm_core_activity entity');
}