----------------------------------------
* CRM-17593: Certain Permissions are hard coded to 'Administrator' in CRM_Core_Permission_WordPress
https://issues.civicrm.org/jira/browse/CRM-17593
public function check($str) {
// Generic cms 'administer users' role tranlates to 'administrator' WordPress role
$str = $this->translatePermission($str, 'WordPress', array(
- 'administer users' => 'administrator',
+ 'administer users' => 'edit_users',
));
if ($str == CRM_Core_Permission::ALWAYS_DENY_PERMISSION) {
return FALSE;