]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: make rgw admin ops api get user info consistent with the command line 27501/head
authorlishuhao <lishuhao@lishuhaodeMacBook-Pro.local>
Mon, 28 Jan 2019 08:05:52 +0000 (16:05 +0800)
committerNathan Cutler <ncutler@suse.com>
Wed, 10 Apr 2019 22:26:08 +0000 (00:26 +0200)
commite8afdeaeb35355e7e6b717fba59687dabe5a512f
tree6f3a3e8ec6a04512e392f5a86ae62a3b13d09238
parentc09e90d1847fc4ffdd7384c9adf7f60c13479095
rgw: make rgw admin ops api get user info consistent with the command line

GET /{admin}/user?format=json HTTP/1.1
Host: {fqdn}
This api gets the information is incomplete relative to radosgw-admin user info --uid xxxx

This modification will change the information returned by the three calls :
RGWUserAdminOp_User::info
RGWUserAdminOp_User::create
RGWUserAdminOp_User::modify

Signed-off-by: Li Shuhao <lishuhao@unitedstack.com>
(cherry picked from commit d2c02b37e3a7f7cdd48334d7451930b4db391eec)
qa/tasks/radosgw_admin_rest.py
src/rgw/rgw_user.cc