[wp-trac] [WordPress Trac] #40577: Introduce a capability for viewing the revisions of a post
WordPress Trac
noreply at wordpress.org
Sun Nov 3 20:17:58 UTC 2019
#40577: Introduce a capability for viewing the revisions of a post
-------------------------------------+-------------------------------------
Reporter: johnbillion | Owner: adamsilverstein
Type: enhancement | Status: assigned
Priority: normal | Milestone: 5.4
Component: Revisions | Version: 2.6
Severity: normal | Resolution:
Keywords: needs-unit-tests | Focuses: administration, rest-
granular-capabilities needs-patch | api
-------------------------------------+-------------------------------------
Comment (by johnbillion):
Chatted with Adam about this at WCUS. A few concerns:
* The action buttons and links to the editing screen on the revisions
listing screen need to be behind corresponding capability checks.
* IIRC the async loaded revisions data on this screen has some capability
checks involved.
* This needs testing with users with and without various caps such as
`edit_posts`, `edit_others_posts`, `edit_published_posts`, etc.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40577#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list