WordPress.org

Make WordPress Core

Opened 16 months ago

Last modified 16 months ago

#22968 new enhancement

No way to view_others_posts without being forced to have edit_others_posts enabled

Reported by: archon810 Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 3.5
Component: Role/Capability Keywords:
Focuses: Cc:

Description

I'm using the Roles plugin to tweak default roles, and I'm looking to add the capability for Authors to read unpublished posts (drafts by other users, so that they can give feedback before they're published).

Unfortunately, it seems that while there's an edit_others_posts perm, there's no equivalent read_others_posts, so doing this is impossible unless you enable editing as well (that's not something I want to do). Read_private_posts doesn't do the trick either, in case you were going to suggest trying it.

The right solution, IMO, is to introduce read_others_posts (and same for pages).

Thank you.

Change History (4)

comment:1 archon81016 months ago

  • Cc admin@… added
  • Version set to 3.5

comment:2 toscho16 months ago

  • Cc info@… added

comment:3 nacin16 months ago

  • Type changed from defect (bug) to enhancement

There is no admin concept of only being able to "view" a post in the admin. So I'm not really sure what we would do here.

Are you trying to expose the "Preview" action link on edit.php?

comment:4 archon81016 months ago

@nacin That's exactly right. Users can't view others' drafts without giving them the ability to edit them. Those perms need to be split up.

There are read perms and edit perms, and the sets don't match up. I think that needs to be rectified.

Last edited 16 months ago by archon810 (previous) (diff)
Note: See TracTickets for help on using tickets.