[wp-trac] [WordPress Trac] #41356: permission typo in rest api

WordPress Trac noreply at wordpress.org
Tue Jul 18 13:28:48 UTC 2017


#41356: permission typo in rest api
-------------------------------+------------------------------
 Reporter:  lalop              |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  REST API           |     Version:  4.8
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:  docs, rest-api
-------------------------------+------------------------------
Changes (by johnbillion):

 * keywords:   => reporter-feedback


Comment:

 `delete_user` is a meta capability which maps to `delete_users` via the
 context (the user ID in this case).

 Are you sure you're properly authenticated with a user which has
 permission to delete users? If you're using Multisite, you'll need to be
 authenticated with a Super Admin user.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/41356#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list