[wp-trac] [WordPress Trac] #16860: map_meta_cap use "manage_network_users" instead of is_super_admin for edit_users
WordPress Trac
noreply at wordpress.org
Thu Sep 10 03:33:24 UTC 2015
#16860: map_meta_cap use "manage_network_users" instead of is_super_admin for
edit_users
----------------------------------+----------------------------------------
Reporter: sboisvert | Owner: jeremyfelt
Type: enhancement | Status: closed
Priority: normal | Milestone: 4.4
Component: Users | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch needs- | Focuses: administration, multisite
codex |
----------------------------------+----------------------------------------
Changes (by jeremyfelt):
* status: reviewing => closed
* resolution: => fixed
Comment:
In [changeset:"33988"]:
{{{
#!CommitTicketReference repository="" revision="33988"
Multisite: Allow users with `manage_network_users` to edit network users.
Other users in a network can now be given capabilities to manage users
without also having global super admin privileges.
* Users with `manage_network_users` can not edit super admins.
* Users with `manage_network_users` can not promote users to super admin.
* Uses of `is_super_admin()` in `user-new.php` are now updated to
`manage_network_users`.
Props daniellandau, chriscct7.
Fixes #16860.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/16860#comment:23>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list