summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJ. Eric Ivancich <ivancich@redhat.com>2025-01-17 15:26:00 +0100
committerGitHub <noreply@github.com>2025-01-17 15:26:00 +0100
commit4fea58a98f3e817cfc9e41abdfa4d6db04fb2dbb (patch)
tree0d52bd2008182b0fabde4afe847a71a61ad6a6f9
parentMerge pull request #61244 from awojno-bloomberg/fix-bucket-sync-status (diff)
parentrgw: /admin/user api dumps account-related user info (diff)
downloadceph-4fea58a98f3e817cfc9e41abdfa4d6db04fb2dbb.tar.xz
ceph-4fea58a98f3e817cfc9e41abdfa4d6db04fb2dbb.zip
Merge pull request #61285 from cbodley/wip-69462
rgw: /admin/user api dumps account-related user info Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
-rw-r--r--src/rgw/driver/rados/rgw_user.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/rgw/driver/rados/rgw_user.cc b/src/rgw/driver/rados/rgw_user.cc
index 894d8e40950..cce593c6bd5 100644
--- a/src/rgw/driver/rados/rgw_user.cc
+++ b/src/rgw/driver/rados/rgw_user.cc
@@ -189,6 +189,11 @@ static void dump_user_info(Formatter *f, RGWUserInfo &info,
}
encode_json("type", user_source_type, f);
encode_json("mfa_ids", info.mfa_ids, f);
+ encode_json("account_id", info.account_id, f);
+ encode_json("path", info.path, f);
+ encode_json("create_date", info.create_date, f);
+ encode_json("tags", info.tags, f);
+ encode_json("group_ids", info.group_ids, f);
if (stats) {
encode_json("stats", *stats, f);
}