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