Extended Super Admins
Revoking network management options doesn't work (2 posts)

  1. sqrbrkt
    Posted 4 years ago #

    Hi all.

    So, I have created a new super admin (called 'Not so super admin') and removed only the following capabilities:

    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.


  2. Curtiss Grymala
    Plugin Author

    Posted 4 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Extended Super Admins
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic