[wp-trac] Re: [WordPress Trac] #2613: Don't show private posts on
front page
WordPress Trac
wp-trac at lists.automattic.com
Sat Apr 1 23:07:54 GMT 2006
#2613: Don't show private posts on front page
----------------------------+-----------------------------------------------
Id: 2613 | Status: new
Component: Administration | Modified: Sat Apr 1 23:07:54 2006
Severity: normal | Milestone: 2.1
Priority: normal | Version: 2.0.2
Owner: ryan | Reporter: ryan
----------------------------+-----------------------------------------------
Comment (by ryan):
map_meta_cap() already checks for read_private_posts and
read_private_pages. These are not currently assigned to any of the default
roles. Let's add edit_private_posts, edit_private_pages,
delete_private_posts, and delete_private_pages to the map_meta_cap()
checks and leave policy up to the admin. Admin can assign these caps to
users and roles as desired. By default, no roles will have any of these
capabilities, although it can be argued that an administrator should be
able to do anything to any post or page.
--
Ticket URL: <http://trac.wordpress.org/ticket/2613>
WordPress Trac <http://wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list