Comment management capabilities
|Reported by:||johnbillion||Owned by:|
I thought this had been brought up before but I can't find a relevant ticket mentioning edit_comments or manage_comments.
The capability required to access the Comments screen is edit_posts. If you have a custom post type with its own capabilities (eg. edit_foos instead of edit_posts) then it's not possible to give access to the comments screen (for viewing comments on custom post types) to users with the edit_foos capability but without the edit_posts capability.
Ideally the capabilities relating to comments would be linked to post types, for example edit_post_comments, edit_page_comments and edit_foo_comments along with an edit_comments meta capability, but this might be asking a little too much.