Change WordPress user roles and capabilities Forums Bug Reports Admin Users can’t see other Admin Users

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #7796
    affinityagency
    Participant

    Hi there, using the Pro version of your plugin on a Multisite website.

    We have a number of roles & users setup.

    On one of our sites, we have a user set as an Administrator & “Other Roles:” of Member.

    If this user then tries to login and navigate to the Users page for that site, they don’t seem to be able to see other Administrator users in the list displayed. Is there a capability setting for this? They would like to be able to

    I am perhaps a little confused as the user is set as an Administrator, which should have all permissions anyway, so not being able to view other Administrator users is a little perplexing. Are you aware of something that would stop this?

    Apparently they were recently able to see these users, but they have now disappeared when trying to view within the Users list.

    #7797
    Vladimir
    Keymaster

    Hi,

    User Role Editor has “administrator protection” feature turned ON by default. It hides ‘administrator’ role and other users with ‘administrator’ role from all users who can edit other users, but has ID not equal 1.
    It’s possible to switch off this feature via filter. Add this code to your active theme functions.php file or setup it as a Must Use plugin:

    //—

    // Switch off URE’s protection of users with ‘administrator’ role from each other and other users with ‘edit_users’ capability

    add_filter( ‘ure_supress_administrators_protection’, ‘switch_off_ure_admin_protection’, 10, 1);

    function switch_off_ure_admin_protection( $switch_off ) {

    $switch_off = true;

    return $switch_off;

    }
    //—

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.