[wp-trac] [WordPress Trac] #4404: Add 'edit_posts' capability check
to metaWeblog.newPost in XML-RPC
WordPress Trac
wp-trac at lists.automattic.com
Mon Jun 4 18:11:21 GMT 2007
#4404: Add 'edit_posts' capability check to metaWeblog.newPost in XML-RPC
-------------------------+--------------------------------------------------
Reporter: josephscott | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone: 2.2.1
Component: XML-RPC | Version:
Severity: normal | Keywords:
-------------------------+--------------------------------------------------
A user with the role of Contributor should be allowed to save a post, but
not publish one. The metaWeblog.newPost method was not correctly checking
this.
The attached diff corrects this issue.
This problem was discovered by Wei-Yeh Lee.
--
Ticket URL: <http://trac.wordpress.org/ticket/4404>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list