WordPress.org

Support

Support » Plugins and Hacks » User Switching » Make the Editors switch roles also

Make the Editors switch roles also

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author John Blackbourn

    @johnbillion

    WordPress Core Developer

    I assume it should be a quick fix…

    This isn’t a straight forward as it sounds. In order to switch to a user you need the ability to edit that user. If you allow editors to edit users then they can switch into an administrator account and then they’re no longer just an editor.

    You need to implement fine-grained permissions controls via the capabilities API to achieve this. Perfectly doable, but not straight forward.

    It really doesn’t matter if the editors switches into an admin user. They already have access to an admin user, but if it is possible to make an “if”-sentence in the user-switching.php file that will make the “Switch to” button appear that is all good then.

    Thanks mate

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Make the Editors switch roles also’ is closed to new replies.
Skip to toolbar