WordPress.org

Ready to get started?Download WordPress

Forums

Extended Super Admins
Super Admin becoming owner of child sites (3 posts)

  1. Henri
    Member
    Posted 1 year ago #

    Hello Curtiss,

    Thank you for this great plugin. Our Multisite is used by a French business school and your plugin does exactly what I need: allows some Super Admin to correct students blogs (but avoid them to have access to the multisite structure).

    Just a problem for me when I use it (WordPress Multisite 3.4.1 with BuddyPress 1.5.7) : each time a Super Admin visit a child site on the network, he become owner of that site (not in the BuddyPress Bar, but in the WordPress Admin Bar > My Sites). When you check the Super Admin in the Multisite Network users list, it will show all the sites he have visited as his sites, but strangely when you check each of these sites in the sites list in the Multisite Network, the Super Admin is not given as an administrator (fortunatly!!!).

    This fact is seen even if the Super Admin has a full role (no options checked in you plugin).

    It is ok because the Super Admin seems to not really own the visited site (no change in BuddyPress and in the details of the site). But, this is really problematic, because gradually the list of sites owned by a SuperAdmin is becoming too long (as some Super Admin have to check and correct hundreds of students blogs...

    Thank you very much in advance for your help!

    Best regards

    http://wordpress.org/extend/plugins/extended-super-admins/

  2. Curtiss Grymala
    Member
    Plugin Author

    Posted 1 year ago #

    Henri, I may be mistaken, but I think what you're describing is the native behavior of Multisite. If a user is a super admin for the network, they automatically have administrative privileges on all sites in the network.

  3. yakbrother
    Member
    Posted 1 year ago #

    Hi!

    I've been tracking down the same problem as Henri, and I think that Extended Super Admins is a possible cause of the issue. I have multisite set up with some 700 sites, and whenever I visit one, it's added to my "My Sites" list. I've been trying to clean it up because it's been slowing down my admin pages.

    So... It seems like the culprit is in the "wp_usermeta" table. Every time I visit a site, ESA grants me the "manage_esa_options" capability for that site. The row looks like this:

    wp_1004_capabilities a:1:{s:18:"manage_esa_options";b:1;}

    If I delete that row, the site disappears from my "My Sites" list.

    Is there any way to set that capability globally instead of setting it for each individual site?

    Interestingly, BBpress does the same thing, when it's installed - creates a "bbp_participant" capability for each site a super admin visits. I'm trying to figure out a way around it.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic