]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw/admin: allow listing account's root users
authorCasey Bodley <cbodley@redhat.com>
Wed, 3 Sep 2025 13:27:18 +0000 (09:27 -0400)
committerThomas Serlin <tserlin@redhat.com>
Mon, 22 Sep 2025 19:18:18 +0000 (15:18 -0400)
commit0cf401b61e123eaed6de6fa24234376d9f9fae6c
tree0631bc6207a740d4c7ccd9b66c32f612c83b4d6e
parentff5d65b106480eb3ec71791ad8f460728c8cfd7e
rgw/admin: allow listing account's root users

`radosgw-admin user list`, when given `--account-id` or
`--account-name`, lists only the users from that account

add support for the `--account-root` option to list only that account's
root users

Fixes: https://tracker.ceph.com/issues/72847
Resolves: rhbz#2360695

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 772fbbbafcdd1d26ff95ef005211f2200b724741)
src/rgw/radosgw-admin/radosgw-admin.cc
src/rgw/rgw_account.cc
src/rgw/rgw_account.h