Need a way to set the 'displayname' property for newly created accounts using REST API

Bug #709496 reported by Natalia Bidart
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical SSO provider
Fix Released
Low
Ricardo Kirkner

Bug Description

Right now, the REST API to create new SSO accounts only accepts email and password (plus captcha information). We need to be able to send the name so it's set in the user's account personal details.

We need this feature since the Ubuntu One Server is using that info to set user names internally, and that name is used for build info for folder sharing. Right now, we end up having 'Test shared by <empty string>.'

Tags: sp-1 kb-task
Revision history for this message
David Owen (dsowen) wrote :

I don't think we'd be able to make the displayname a required parameter in the API (that would break existing clients), but we could at least make it an optional parameter, or provide another method specifically to set the displayname.

summary: - Need a way to set the 'name' property for newly created accounts using
- REST API
+ Need a way to set the 'displayname' property for newly created accounts
+ using REST API
Changed in canonical-identity-provider:
importance: Undecided → Low
tags: added: kb-task
Changed in canonical-identity-provider:
assignee: nobody → Ricardo Kirkner (ricardokirkner)
status: New → In Progress
Revision history for this message
Ricardo Kirkner (ricardokirkner) wrote :

Notes for QA:

To test this, the api tests should be performed, making sure that the .register call includes the displayname parameter and the returned account has the correct displayname set.

Changed in canonical-identity-provider:
status: In Progress → Fix Committed
Changed in canonical-identity-provider:
milestone: none → 11.03.15
Changed in canonical-identity-provider:
status: Fix Committed → Fix Released
tags: added: sp-1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.