Comment 8 for bug 1201251

Revision history for this message
Dazhao Yu (dzyu) wrote :

Henry, thanks for your comments.

Firstly, I want to say sorry, since I miss the bug point.

The bug have two part need to fix:

1, The documentation need to modify -- http://docs.openstack.org/api/openstack-identity-service/2.0/content/POST_updateUser_v2.0_users__userId__.html, since update should use "PUT" method, if use "POST" method, we will got error. I do not know how to update the documentation, can you give me some info about it.

2, Use OpenStack CLI command----'keystone help update-user', we can see we can only update 'name', 'email' and 'enabled', for the other property, we can not to update, but from rest api, we can change any property expect 'id', such as change the tenantId, even one no-existed tenantId or property. We should to make the code change to make sure REST API has same restrict with CLI command.