----------------------------------------
* CRM-18046: Search link in AB Testing report erroneously requires view all contacts permission
https://issues.civicrm.org/jira/browse/CRM-18046
))
->addPermissions(array(
'view all contacts',
+ 'edit all contacts',
'access CiviMail',
'create mailings',
'schedule mailings',
<a
class="crm-hover-button action-item"
ng-href="{{statUrl(am.mailing, statType, 'search')}}"
- ng-if="checkPerm('view all contacts')"
+ ng-if="checkPerm('view all contacts') || checkPerm('edit all contacts')"
title="{{ts('Search for contacts using \'%1\'', {1: statType.title})}}"
crm-icon="fa-search"
></a>