#4404 closed defect (bug) (fixed)
Add 'edit_posts' capability check to metaWeblog.newPost in XML-RPC
| Reported by: | josephscott | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.2.1 |
| Component: | XML-RPC | Version: | 2.2 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
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 (1)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
+1 for 2.2 and trunk