New Page and Delete Caps in SVN

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

New Page and Delete Caps in SVN

Ryan Boren
By popular demand:

http://trac.wordpress.org/changeset/3513

Now that pages have proper draft/private/publish status we are able to
give them the full set of caps.  The following caps bring pages up to
parity with posts.

edit_page
edit_others_pages
edit_published_pages
publish_pages

Delete capabilities now have a separate set of caps.  This was much
requested by WP as CMS users and by those trying to get Wiki with their
WordPress.

delete_page
delete_pages
delete_others_pages
delete_published_pages
delete_post
delete_posts
delete_others_posts
delete_published_posts

Enjoy.

Ryan
_______________________________________________
wp-hackers mailing list
[hidden email]
http://lists.automattic.com/mailman/listinfo/wp-hackers
Reply | Threaded
Open this post in threaded view
|

Re: New Page and Delete Caps in SVN

Mark Jaquith
On Feb 11, 2006, at 5:08 AM, Ryan Boren wrote:

> Now that pages have proper draft/private/publish status we are able  
> to give them the full set of caps.  The following caps bring pages  
> up to parity with posts.

Note that this bug still applies:
http://trac.wordpress.org/ticket/2257

In order to edit pages, you need edit_posts capability.  
Unfortunately, this is hardcoded in several places... my patch may be  
outdated by now.
--
Mark Jaquith
http://txfx.net/


_______________________________________________
wp-hackers mailing list
[hidden email]
http://lists.automattic.com/mailman/listinfo/wp-hackers