Support » Plugin: WP Hide Dashboard » Multisite & Dashboard Link visible

  • Resolved NoOne1337

    (@noone1337)


    Hi,

    I freshly installed WordPress 3.8.1 w. Multisite setup

    Plugins installed:
    – More Privacy Options 3.7.1
    – WP Hide Dashboard 2.2

    Problem Description:
    Dashboard Icon visible for user without any rights (Account was created within Network Admin -> User).
    This happens when the user is _only_ created in Network Admin – User and not created/mapped to another Site inside the network.

    See screenshot here

    When I add/map the user to a Site the Dashboard icon is gone everywhere.

Viewing 1 replies (of 1 total)
  • Plugin Contributor Kim Parsell

    (@kpdesign)

    WP Mom

    Hi NoOne1337 –

    That is intended behavior, not a problem with the plugin.

    I chose not to hide the network user dashboard when a user is not assigned to any site in the network:

    if (is_multisite()) {
    
          /* Show only user account menu if the user is assigned to no sites. */
          if (count($wp_admin_bar->user->blogs) == 0) {
            $wp_admin_bar->remove_menu('wp-logo'); /* Hide WordPress logo menu completely */
            return;
          }

    I hide the WordPress logo, but don’t interfere with default WordPress behavior for those users.

    Another plugin may wish to display other information for those types of users on the network users dashboard.

    Those types of users can only be created in the network admin. Creating a user on any site within the network automatically assigns them to that site.

Viewing 1 replies (of 1 total)
  • The topic ‘Multisite & Dashboard Link visible’ is closed to new replies.