WordPress.org

Forums

[resolved] [Plugin: Extended Super Admins] manage_esa_options role missing in WP 3.2 (12 posts)

  1. philippe7v7
    Member
    Posted 4 years ago #

    Hi,

    I'm not sure if this is because of WP 3.2. I installed a new WP 3.2 multi-site configuration and the Extended Super Admins plugin. However, I can't seem to find the role manage_esa_options from the list provided by settings.

    I tried to reinstall the plugin. It is not really there. I have used this plugin in an old multi-site and the role manage_esa_options exists on the list.

    Any help would be appreciated because no matter how I try to restrict a Super Admin, he can still make modifications on the ESA settings and thus enabling roles for himself.

    Thanks.

    Phil

  2. Curtiss Grymala
    Member
    Posted 4 years ago #

    Thanks for the report. I will definitely look into this, but I'm not sure it's as dire as it may seem.

    This plugin shouldn't show any capabilities that the current user doesn't have, so if you're not granted the manage_esa_options capability by default, you won't see it in the list of capabilities to remove. That said, that also means that the user from whom you removed capabilities also shouldn't be able to give themselves more permissions; but they might still be capable of removing permissions from other users.

    I suspect this is a negative side effect of a bug fix I tried to apply a few weeks ago that had to do with an issue in the WordPress core.

    I will definitely look into it and see what I can come up with in the way of a fix. Thanks again for the report.

  3. philippe7v7
    Member
    Posted 4 years ago #

    Thanks for the quick reply. This is a fresh install of WP 3.2 Multi-Site with the ESA plugin.

    Just to add, I elevated a user say SAdmin to super admin. I created a new role called Super Users and applied the capabilities to him. I checked manage_network_users and manage_network_options for the new role to remove these capabilities.

    Since I can't find the manage_esa_options, then I could not remove this capability from SAdmin

    I logged in as SAdmin. True enough the Users option on the network menu has disappeared. However, when I go to Settings - Extended Super Admin, I can remove the selection on manage_network_users under the Super Admins role I created. So I did this and clicked on save. When the browser refreshed, I can now access Users under the menu of network admin. I can also create new roles as SAdmin.

    Btw, hope you won't mind me asking if I would I get feedback from this thread or should I just monitor the plugin site for Extended Super Admin in case of any update?

    Thanks again.

    Phil

  4. Curtiss Grymala
    Member
    Posted 4 years ago #

    Thanks for the extra info.

    I'll update this thread when I release a new version (it'll most likely be a dev version that I'll need help testing before I release it as stable). Thanks.

  5. philippe7v7
    Member
    Posted 4 years ago #

    Thanks. In the meantime is there any workaround?

    Is there an option to remove capability for the Settings menu item so that the ESA settings won't show just like in the manage_network_users where the entire Users menu item disappears? If this is possible, then I could initially remove access to Settings entirely. The only item I found was manage_network_options which removed only access to the sub-menu items Network Settings and Network Setup. The Extended Super Admin sub-menu was still there.

    Thanks.

    Phil

  6. philippe7v7
    Member
    Posted 4 years ago #

    I'd be more than willing to test the dev version when it is out.

    Thanks.

  7. Curtiss Grymala
    Member
    Posted 4 years ago #

    I've just committed a new stable version with a quick fix for this issue to the repository (which should cause your installation to indicate a new version is available shortly).

    I've also updated the development version of the plugin with these changes, along with a bunch of others.

    Please feel free to install either version and let me know if you notice any other issues. Thanks.

  8. philippe7v7
    Member
    Posted 4 years ago #

    Hi,

    I'm happy to let you know that it worked! I tested it a couple of times on two different servers and I can confirm that it now fully works on WP 3.2.

    In case I find new issues, I will let you know ASAP.

    Thanks again.

    Phil

  9. Curtiss Grymala
    Member
    Posted 4 years ago #

    Fantastic. Thanks for letting me know.

  10. philippe7v7
    Member
    Posted 4 years ago #

    In case I find issues, is there another place I can send it to or is this thread ok?

  11. Curtiss Grymala
    Member
    Posted 4 years ago #

    You can create a new thread in this forum, add a comment to this post, comment on my website or hit me up on Twitter.

  12. philippe7v7
    Member
    Posted 4 years ago #

    Thanks. I will just create a new thread. I'm putting it in writing now. However, the thought could still be a continuation to this.

    I'll mark this thread as resolved.

Topic Closed

This topic has been closed to new replies.

About this Topic