Change WordPress user roles and capabilities Forums Give user access to plugin – how to Prevent Admin user from removing other Admin users

This topic contains 1 reply, has 2 voices, and was last updated by  Vladimir 6 days, 20 hours ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #5660

    officezen
    Participant

    I’m not sure which forum category this falls under, but is it possible to set this up?

    #5673

    Vladimir
    Keymaster

    Excuse for a delay with answer – I had 2 weeks vacation.

    This is a feature active at User Role Editor by default.
    Any user with ID not equal 1 (WordPress default admin user) which has ‘edit_users’ capability does not see users with ‘administrator’ role.
    Pay attention that if user has ‘ure_manage_options’ capability URE counts him as a superadmin and does not apply to him any restrictions.

    Another way to restrict what users are shown (available for editing/deletion) to the current user is Other roles access add-on.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.