]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw/role: separate dump_iam_role() for iam api
authorCasey Bodley <cbodley@redhat.com>
Sat, 20 Jan 2024 20:16:00 +0000 (15:16 -0500)
committerCasey Bodley <cbodley@redhat.com>
Wed, 10 Apr 2024 17:09:15 +0000 (13:09 -0400)
commitbf204e982ea5b9e1ad0b6f7a1433404245b2137e
tree9ad5ac3c5b098b69e5bbd88e8d7dbc4c1023e258
parent70d63dac461ee3d31d8420ed0628b8a94851f85f
rgw/role: separate dump_iam_role() for iam api

create a new dump_iam_role() for iam api responses that dumps the subset
of role information presented by the apis

RGWRoleInfo::dump() and decode_json() are used by metadata sync to
transfer role metadata between zones, so must contain all information
about the role

Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/rgw/rgw_admin.cc
src/rgw/rgw_rest_role.cc
src/rgw/rgw_role.cc
src/rgw/rgw_role.h