]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
This commit deals with renaming user. Under the hood, the attributes of an
authorShilpa Jagannath <smanjara@redhat.com>
Wed, 19 Jun 2019 09:34:03 +0000 (15:04 +0530)
committerShilpa Jagannath <smanjara@redhat.com>
Tue, 30 Jul 2019 08:30:45 +0000 (14:00 +0530)
commitbe2b7e6b01e568ba906a7f422111aa15d8fa9f10
treeaceb26ef0a73be30d8ff6bdb71d3fc99ada9550e
parent6dc48620a1bffbb04db240c3ff605fe2c71cbd8f
This commit deals with renaming user. Under the hood, the attributes of an
existing user are moved under the new user namespace specified by "--new-uid".
It calls bucket link and bucket chown to link the buckets and objects to the new
user namespace. Access and secret keys of the user(and the subusers) are preserved.

Usage: "radosgw-admin user rename --uid=<> --new-uid=<>"

Signed-off-by: Shilpa Jagannath <smanjara@redhat.com>
doc/man/8/radosgw-admin.rst
src/rgw/rgw_admin.cc
src/rgw/rgw_bucket.cc
src/rgw/rgw_bucket.h
src/rgw/rgw_user.cc
src/rgw/rgw_user.h