Make WordPress Core

Opened 12 years ago

Closed 8 years ago

#22968 closed enhancement (duplicate)

No way to view_others_posts without being forced to have edit_others_posts enabled

Reported by: archon810's profile archon810 Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.5
Component: Role/Capability Keywords: needs-patch dev-feedback
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 (6)

#1 @archon810
12 years ago

  • Cc admin@… added
  • Version set to 3.5

#2 @toscho
12 years ago

  • Cc info@… added

#3 @nacin
12 years 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?

#4 @archon810
12 years 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 12 years ago by archon810 (previous) (diff)

#5 @chriscct7
9 years ago

  • Keywords needs-patch dev-feedback added

I kinda like the idea to have a edit/publish self and read/edit/publish others permission the same way we already have a cap for read_private_posts for example

#6 @johnbillion
8 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

Duplicate of #33240.

Note: See TracTickets for help on using tickets.