Ok, I think I’ve managed to fix this by creating a new role in functions.php that has the bp_moderate capability.
The code looks like this in functions.php
$result = add_role( 'project_admin', __('Project Admin' ),
array(
'read' => true, // true allows this capability
'edit_posts' => true, // Allows user to edit their own posts
'edit_pages' => true, // Allows user to edit pages
'edit_others_posts' => true, // Allows user to edit others posts not just their own
'create_posts' => true, // Allows user to create new posts
'manage_categories' => true, // Allows user to manage post categories
'publish_posts' => true, // Allows the user to publish, otherwise posts stays in draft mode
'edit_themes' => false, // false denies this capability. User can’t edit your theme
'install_plugins' => false, // User cant add new plugins
'update_plugin' => false, // User can’t update any plugins
'update_core' => false, // user cant perform core updates
'edit_users' => true,
'create_users' => true,
'delete_users' => true,
'unfiltered_html' => true,
'bp_moderate' => true
)
);
OK, it looks like I was wrong. If “manage_network_users” is enabled, the administrator can edit the WordPress user profile but NOT the BuddyPress extended profile. So, the question is: how can this be enabled in BuddyPress?
According to this link, it seems like this is part of WordPress core. Surely there must be some way to enable user management by admin without making them a super admin.