[wpmu-trac] [WordPress MU Trac] #1169: Only Site Admins can edit users
WordPress MU Trac
wpmu-trac at lists.automattic.com
Tue Dec 1 15:10:50 UTC 2009
#1169: Only Site Admins can edit users
----------------------------+-----------------------------------------------
Reporter: rbaier4 | Owner: somebody
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: Administration | Version:
Severity: normal | Keywords:
----------------------------+-----------------------------------------------
Regardless of a user's capabilities, that user will not be able to edit
other blog user's profiles unless they are a Site Admin.
See /wp-admin/user-edit.php, line 63:
// Only allow site admins to edit every user.
if ( !is_site_admin() && ($user_id != $current_user->ID) )
wp_die( __( 'You do not have permission to edit this user.' ) );
WPMU should allow anyone with the "edit_user" capability to edit users.
At a minimum, individual blog admins should be able to edit their users.
One possible solution is here: http://mu.wordpress.org/forums/topic/15334
Really, it would be more ideal to make this pluggable though so the
default behavior can be overridden if desired.
--
Ticket URL: <http://trac.mu.wordpress.org/ticket/1169>
WordPress MU Trac <http://mu.wordpress.org/>
WordPress Multiuser
More information about the wpmu-trac
mailing list