[wp-xmlrpc] XML-RPC and Roles

Alexander Concha alex at buayacorp.com
Thu Jun 9 21:14:55 UTC 2011


Instead of modifying the user capabilities, why don't you add a new
xmlrpc method that does a similar thing of get_recent_posts? You can
easily add new xmlrpc methods.

On Thursday, June 9, 2011, Hessam Armandehi <hessam at farsitel.com> wrote:
> Dear Eric,
>
> Thanks for the tip. I tried the Role Scoper. It seems the user needs to have "edit_published_posts" and "edit_others_posts" permissions to get access to XML-RPC responses. True? I tried it on the original Wordpress Android app. I couldn't fetch the posts with Author role since it has no "edit_others_posts" permission. If it's true, what do you suggest then?
>
> Best,
> /Hessam
>
> On Tue, Jun 7, 2011 at 6:22 PM, Eric Mann <eric at eam.me> wrote:
>
>
> My recommendation would be to use a plugin like Role Scoper (http://wordpress.org/extend/plugins/role-scoper/) to create a custom XML-RPC user role.  You can then explicitly grant users the ability to read content but not create content.
>
> On Tue, Jun 7, 2011 at 2:26 AM, Hessam Armandehi <hessam at farsitel.com> wrote:
>
> Dear all,
>
> We're developing an Android app for a wordpress.org blog. Since RSS only lists the most recent posts and we wanted to get access to the older ones we decided to use XML-RPC. Unfortunately I just found that subscriber role has no access to the XML-RPC features.
>
> We need a read-only account to access XML-RPC and we don't want to put admin password in the app. How should we proceed? Any suggestion?
>
> I found this myself:
> http://wordpress.org/support/topic/xmlrpc-038-getrecentposts-038-user-role
>
> No help though.
>
> Best,
> /Hessam
>
>
> _______________________________________________
> wp-xmlrpc mailing list
> wp-xmlrpc at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-xmlrpc
>
>
>
> _______________________________________________
> wp-xmlrpc mailing list
> wp-xmlrpc at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-xmlrpc
>
>
>
>

-- 
Alexander Concha
http://www.buayacorp.com


More information about the wp-xmlrpc mailing list