Add API for updating a user's name, e-mail, and is_active flag.
Review Request #10765 — Created Oct. 26, 2019 and submitted
This introduces support for an HTTP PUT to the User resource for
updating a full name, e-mail address, and the
is_activeflag. The full
name and e-mail address can be updated only if the auth backend supports
it, and if it does then the backend will be notified of any changes.
Users can modify only their own full name and e-mail address.
Administrators and special users with the
can also update these fields for other users, along with the
There's also a fix for e-mail validation errors when creating a new user.
At this time, user settings and
extra_datacannot be modified or
retrieved via the API, as we need to consider whether users should be
able to see this state for other users and whether there could be any
Unit tests pass.