[wp-trac] [WordPress Trac] #21386: XML-RPC needs a user permission method

WordPress Trac noreply at wordpress.org
Fri Nov 23 15:31:56 UTC 2012


#21386: XML-RPC needs a user permission method
--------------------------+-----------------------------
 Reporter:  markoheijnen  |       Owner:
     Type:  enhancement   |      Status:  new
 Priority:  normal        |   Milestone:  Future Release
Component:  XML-RPC       |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  mobile        |
--------------------------+-----------------------------

Comment (by koke):

 For now, our use case for this would be
 http://ios.trac.wordpress.org/ticket/1475

 If the user can't publish posts but save them (contributor?) the UI
 shouldn't say "Publish"

 What's the reason behind wp.getUser not returning capabilities? Would
 adding `wp.hasCap(blogId, username, passsword, cap)` make sense if we
 don't want to return the full list?

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21386#comment:11>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list