[wp-trac] [WordPress Trac] #14122: Custom "capabilities" appears broken on custom post types
WordPress Trac
wp-trac at lists.automattic.com
Sat Nov 13 08:51:48 UTC 2010
#14122: Custom "capabilities" appears broken on custom post types
----------------------------+-----------------------------------------------
Reporter: jakemgold | Owner: nacin
Type: task (blessed) | Status: assigned
Priority: normal | Milestone: 3.1
Component: Post Types | Version: 3.0
Severity: normal | Keywords: needs-patch needs-unit-tests
----------------------------+-----------------------------------------------
Comment(by nacin):
Another issue I see is that a plugin may have been using meta capability
handling via capability_type = post but only partially. i.e. they mapped
edit_posts to edit_movies and may have handed that on their own, but then
let delete_post take its course. (Very similar to the OP.)
At that point, we'd need fine-grained control for map_meta_cap, not just
on/off, but rather on/off for read, edit, and delete independently. That
seems silly.
Other than a decision on
[attachment:14122.remove.post_type_supports.author.diff], I am inclined to
let this sit, and wait for bug reports once beta is out.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14122#comment:51>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list