[wp-hackers] Custom post type capabilities,	but needs 	'edit_posts' as well?
    Andrew Nacin 
    wp at andrewnacin.com
       
    Wed Jun 30 00:36:35 UTC 2010
    
    
  
On Tue, Jun 29, 2010 at 8:28 PM, Alex Hempton-Smith <hempsworth at gmail.com>wrote:
> I'm certainly getting somewhere but it's not quite working. I have the
> following array in register_post_type
>
>    'capabilities' => array(
>  'edit_posts' => 'manage_finances',
> 'delete_posts' => 'manage_finances',
>  'delete_published_posts' => 'manage_finances',
> 'publish_posts' => 'manage_finances',
>  'edit_published_posts' => 'manage_finances'
> ),
>
delete_posts, delete_published_posts, edit_published_posts are invalid for a
post type. Please see the list in my original reply.. You're missing
edit_post in particular, also delete_post, read_post, and
read_private_posts.
    
    
More information about the wp-hackers
mailing list