#8111 closed defect (bug) (wontfix)
Edit Posts lists for contributors should not list drafts by other users
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 2.7 |
Component: | Administration | Keywords: | needs-patch |
Focuses: | Cc: |
Description
The edit posts lists as a contributor currently lists posts made by other users e.g. admin that are in draft state.
I don't think that these posts should appear in the list. A "preview" link is also shown that then points to the non-existent (to the contributor) article because proper security applies to actually previewing, just not the list in admin.
Attachments (2)
Change History (11)
#2
@
16 years ago
It looks like to fix the actual post counts list at the top it would need a seperate function similar to wp_count_posts that just counts the posts for a specific user, or counts based on editability rather than viewability.
#3
@
16 years ago
- Milestone changed from 2.7 to 2.8
Let's see if we can get the query sorted for 2.8.
#4
@
16 years ago
alternatively, it could be desirable, in the sense that contributors might be working as a team and need to know what posts others are working on.
#7
@
15 years ago
If they want to work as a team, you can give them author roles or higher. I don't think the contributors should be able to see these titles of the pending posts and comments.
Ok I've attached the hacky way of doing it - limits the edit posts screen.
What I'd liked to have done is to properly limit by author so that the post counts work, but even though the code is already there somewhere to list by author I can't figure out how it works.