Restrict user role Author from viewing comments in admin interface

I want to add an user as an Author to my blog, so that he can publish posts. But i don’t want him to be able to view all the (unapproved) comments in the admin interface.

Is there any code snippet / plugin that can do what i want ?

Read More

I tried plugins like Role Scoper and Members. Role Scoper is too complicated i don’t even know where to start. Members can only edit the basic wordpress access for roles.

Related posts

Leave a Reply

4 comments

  1. For a user to be able to see the list of other users in wp-admin, he or she needs the capability list_users, to be able to edit existing profiles, he or she needs edit_users, to add new ones add_users and to delete old ones delete_users.

    For managing a site with multiple specific user roles that need to have certain capabilities and not to have others, I highly recommend using a mixture of two plugins:

    Adminimize gives you control over what part of the admin interface is shown to what role

    Members lets you edit the capabilities of a specific role and add new roles as needed

  2. you can go to wp-admin folder -> menu.php and look for something like this

    $menu[25] = array( sprintf( __(‘Comments %s’)….

    then add this condition around this line

    global $current_user;
    if($current_user->user_level==10){the line should be here}

    this way no one can see the comments except the admin.