[wp-trac] [WordPress Trac] #18721: Site admins can remove super admins from a site

WordPress Trac wp-trac at lists.automattic.com
Wed Nov 16 00:15:41 UTC 2011


#18721: Site admins can remove super admins from a site
--------------------------+------------------------------
 Reporter:  johnbillion   |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Multisite     |     Version:  3.3
 Severity:  normal        |  Resolution:
 Keywords:  close         |
--------------------------+------------------------------
Changes (by nacin):

 * keywords:  needs-patch => close


Comment:

 I don't think get_blogs_of_user() should return all blogs for a super
 admin. It should only return those that are explicit. I don't have a
 problem with admins being able to remove a super admin, either.

 If you want to prevent this, it's pretty easy to hook into the
 promote_user meta cap.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/18721#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list