Increase data manipulation on User API to include all user properties.
Created by: minorOffense
Right now, when you GET the current user you have access to the following data:
"id": 1,
"username": "john_smith",
"email": "[email protected]",
"name": "John Smith",
"private_token": "dd34asd13as",
"blocked": false,
"created_at": "2012-05-23T08:00:58Z",
"bio": null,
"skype": "",
"linkedin": "",
"twitter": "",
"dark_scheme": false,
"theme_id": 1
"is_admin": false,
"can_create_group" : true,
"can_create_team" : true,
"can_create_project" : true
Which differs from the data when loading an arbitrary user.
However when manipulating users (i.e. insert/update) you only have access to the following values:
email (required) - Email
password (required) - Password
username (required) - Username
name (required) - Name
skype (optional) - Skype ID
linkedin (optional) - Linkedin
twitter (optional) - Twitter account
projects_limit (optional) - Number of projects user can create
extern_uid (optional) - External UID
provider (optional) - External provider name
bio (optional) - User's bio
Notably missing are the options to block users, set the dark scheme, marking the user as an admin.
Beyond that, having access to the user's API token via a service call would be useful as well. Giving a means to completely controlling users via the API.