Ticket #4404 (closed defect (bug): fixed)
Add 'edit_posts' capability check to metaWeblog.newPost in XML-RPC
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | 2.2.1 |
| Component: | XML-RPC | Version: | 2.2 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
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.
Attachments
Change History
- Status changed from new to closed
- Resolution set to fixed
Note: See
TracTickets for help on using
tickets.

