WP-Members uses WP’s roles and capabilities to load different admin elements based on user capabilities. This allows you to customize how certain management tasks are allowed (such as working with users but not content or settings). Anything having to do with users requires “list_users” capability in order to load the process. You’ll also need to have “edit_users” to be able to actually use those processes.
The only WordPress default role that has “list_users” capability is the “administrator” role. So if you want a user other than an administrator to manage user activation, you need to create a custom role with “list_users” and “edit_users” (along with any other capabilities this role should have).
The easiest way to do that is to use the User Role Editor plugin to create a custom role. You can either clone an existing role (such as “subscriber”) and add the capabilities you need. Or you can create a new role from scratch, assigning only the necessary capabilities.
Also note that WordPress allows users to have multiple roles. So you could conceivably create a simple custom role with just list_users and edit_users capability, and assign it to various users who have differing roles. That makes it easier to manage what you’re actually assigning to users.
-
This reply was modified 4 years, 7 months ago by
Chad Butler.