Create user record screen unsupported on WordPress
On Drupal and Joomla it is possible to create a new CMS user from a contact record, by selecting "Create User Record" from the Actions dropdown. This is not available on WordPress.
It looks like this is the result of CRM_Utils_System_WordPress
not implementing checkPermissionAddUser
.
I would expect this function could be very simple - something like this would probably work:
public function checkPermissionAddUser() {
return current_user_can('create_users');
}
Note, it is possible to directly access the useradd page in WordPress, even though checkPermissionAddUser
is not implemented (and returns false in the base class). It appears checkPermissionAddUser is not checked before this page is rendered or proccessed. Even though this page is accessible, I would not be comfortable relying on it in a WordPress context, as the lack of checkPermissionAddUser
method makes me assume this functionality would have been minimally tested.