WordPress.org

Support

Support » How-To and Troubleshooting » Disable Dashboard for Normal Registered Users

Disable Dashboard for Normal Registered Users

  • 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.

    Thanks!

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Mark (podz)
    Support Maven

    @podz

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

    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.

    MattyG – forgot to tell you what I did:

    in wp-admin/menu.php

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

    to:
    $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).

    Thanks a lot for that – all sorted now!!

    Thank you astorm

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Disable Dashboard for Normal Registered Users’ is closed to new replies.