[wp-trac] [WordPress Trac] #40263: REST API: Allow site admins to edit user roles in multisite

WordPress Trac noreply at wordpress.org
Thu Aug 3 21:58:52 UTC 2017


#40263: REST API: Allow site admins to edit user roles in multisite
-------------------------------------------------+-------------------------
 Reporter:  flixos90                             |       Owner:  flixos90
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:  4.9
Component:  REST API                             |     Version:
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests ms-roadmap  |     Focuses:  multisite
  commit needs-dev-note                          |
-------------------------------------------------+-------------------------
Changes (by flixos90):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"41226"]:
 {{{
 #!CommitTicketReference repository="" revision="41226"
 REST API: Allow site administrators to edit user roles in multisite.

 While site administrators cannot generally edit users in multisite, they
 have always been able to change the roles of users on their site. In the
 REST API however, this has not been possible so far. This changeset brings
 parity with how it is handled in the administration panel: A REST request
 to edit only a user's roles succeeds correctly, while a REST request to
 edit any further details of a user fails.

 Props jnylen0.
 Fixes #40263.
 }}}

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


More information about the wp-trac mailing list