Opened 13 years ago
Closed 11 years ago
#19286 closed defect (bug) (duplicate)
Users without access to Comments screen can see links to it
Reported by: | johnbillion | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 3.0 |
Component: | Posts, Post Types | Keywords: | has-patch |
Focuses: | Cc: |
Description
The comments bubble that shows on up next to each post on post listing screens doesn't check for the edit_posts
capability. This means on post type screens where a user has the edit_{post_type}
capability but not the edit_posts
capability, the comment bubble links to the Comments screen which they do not have access to.
We should still show the comment bubble in this case but not link it to the Comments screen.
Attachments (1)
Change History (7)
Note: See
TracTickets for help on using
tickets.
Patch which retains the comment bubble but removes its link for users without the
edit_posts
capability.