Support » Plugin: Extended Super Admins » [Plugin: Extended Super Admins] Revoking network management options doesn't work

  • Hi all.

    So, I have created a new super admin (called ‘Not so super admin’) and removed only the following capabilities:
    manage_esa_options
    manage_network_options
    manage_network_plugins
    manage_network_themes

    The first two work without a hitch. Perfect. The second two, however, don’t seem to do anything. The ‘Not so super admin’ still has the Themes and Plugins items in their network admin menu and can still add/edit/manage themes and plugins for the network.

    Am I missing something?

    NB: If I allow ‘Not so super admin’ to manage_esa_options and dump $current_user->allcaps from within get_allcaps() I get this (http://pastebin.com/DvLNKeCE) when on the plugin’s settings page for the user assigned to that role.

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

Viewing 1 replies (of 1 total)
  • Plugin Author Curtiss Grymala

    (@cgrymala)

    I think this is probably just a case of WordPress capabilities not being as clear as they should be. The manage_network_themes capability doesn’t automatically disable any other capabilities; so all of your “Not so super admin” users still have the “install_themes”, “delete_themes”, “edit_themes”, etc. caps. In order to keep them from being able to perform those actions, you’ll need to remove those capabilities from that role, as well.

    Does that make sense? Thanks.

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Extended Super Admins] Revoking network management options doesn't work’ is closed to new replies.