]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: adminops API now supports tenant param for user creation 16442/head
authorAbhishek Lekshmanan <abhishek@suse.com>
Thu, 20 Jul 2017 09:08:30 +0000 (11:08 +0200)
committerAbhishek Lekshmanan <abhishek@suse.com>
Mon, 24 Jul 2017 15:43:51 +0000 (17:43 +0200)
commitaf0e307aae679cbaede6979b6ea9d531721c4ce1
treeb0895c7c1d768e45f75521d3fb70f50726078e23
parent5c8d27363cec3a33ae4eea8065eff76b4f302ab1
rgw: adminops API now supports tenant param for user creation

Allow `tenant` as a param for user creation API, also document this.
Currently we still return a -ENOENT when an invalid tenant name is
specified, while we could make it return -ERR_INVALID_TENANT, this would
make rgw admin cli not return -ENOENT when an invalid tenant name is
specified.

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
doc/radosgw/adminops.rst
src/rgw/rgw_rest_user.cc