Skip to content

Commit 2f7a94c

Browse files
committed
rgw: /admin/user api dumps account-related user info
the admin api uses a separate dump_user_info() function that wasn't updated with the account changes to RGWUserInfo::dump() Fixes: https://tracker.ceph.com/issues/69462 Signed-off-by: Casey Bodley <[email protected]>
1 parent 10c9a4d commit 2f7a94c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/rgw/driver/rados/rgw_user.cc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,11 @@ static void dump_user_info(Formatter *f, RGWUserInfo &info,
189189
}
190190
encode_json("type", user_source_type, f);
191191
encode_json("mfa_ids", info.mfa_ids, f);
192+
encode_json("account_id", info.account_id, f);
193+
encode_json("path", info.path, f);
194+
encode_json("create_date", info.create_date, f);
195+
encode_json("tags", info.tags, f);
196+
encode_json("group_ids", info.group_ids, f);
192197
if (stats) {
193198
encode_json("stats", *stats, f);
194199
}

0 commit comments

Comments
 (0)