The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Disable Dashboard for Normal Registered Users (6 posts)

  1. MattyG
    Posted 10 years ago #

    Currently normal registered users on my site are able to see the dashboard.

    I was able to edit the files so that they dont see a link to the dashboard, but if they know the URL they can still view it.

    Please tell me exactly how to restrict normal registered users access, so they can also see their profile, and not the dashboard.


    PS: Sort of like this - http://wordpress.org/support/topic/35088 - but the filenames etc are out of date.

  2. Mark (podz)
    Support Maven
    Posted 10 years ago #

    I apologise for not answering what you need, but I'm interested as to why you want them not to see it ?

  3. astorm
    Posted 10 years ago #

    I have the same need.

    The info in the dashboard is not personalized for other users and potentially more confusing if they don't know about wordpress (i.e. my grandma). Let me elaborate:

    The links under "Welcome to WordPress" assume that you have all the capabilities. Lesser roles still see the links but they'd get a "You do not have sufficient permissions to access this page." If a user don't have rights, then the link shouldn't be there in the first place.

    The "WordPress Development Blog" and "Other WordPress News" are good for "Administrator". Other people can go to planet.wordpress.org if they want to read up.

    What I really want in _my_ dashboard is a personalized information from my point of view:
    1. All of my post, comments on my post, link to my post, and short cuts to things that I can do (per my capabilities).
    2. All of other post, comments, links, etc. that I have permission to view/edit.
    3. Blog stats.

    Blog stats could be more elaborate from admin:
    - user info: last login, last failed attempt to login.
    - page/post info: number of hits, etc.

  4. astorm
    Posted 10 years ago #

    MattyG - forgot to tell you what I did:

    in wp-admin/menu.php

    $menu[0] = array(__('Dashboard'), 'read', 'index.php');

    $menu[0] = array(__('Dashboard'), 'manage_options', 'index.php');

    Only Administrator has 'manage_options' capability.

    Your user won't see the Dashboard on the menu, but it is accessable via /wp-admin/index.php, so you'd need to set the redirect login to /wp-admin/profile.php (or other pages).

  5. MattyG
    Posted 10 years ago #

    Thanks a lot for that - all sorted now!!

  6. john24
    Posted 9 years ago #

    Thank you astorm

Topic Closed

This topic has been closed to new replies.

About this Topic