]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw_rest_user_policy: [55603] Fix Get & List User Policy responses 47235/head
authorSumedh A. Kulkarni <sumedh.a.kulkarni@seagate.com>
Thu, 28 Apr 2022 06:39:44 +0000 (00:39 -0600)
committerCory Snyder <csnyder@iland.com>
Fri, 22 Jul 2022 08:22:09 +0000 (04:22 -0400)
commit419da9d2242c30a136fbfc71c4f3ab86f1591a10
treec7ea77cb33e97a1a45bc7e3e4e4a471bd7eb01f2
parentf61704e9a484e828fc16639456e5747f3e54e768
rgw_rest_user_policy: [55603] Fix Get & List User Policy responses

GetUserPolicy & ListUserPolicies responses has few mistakes/typos if compared
with aws documentation of the API's.
While using `aws iam` cli the mistakes in the response schema causes the
blank/incorrect response output.
Correcting the same with the patch.

Fixes: https://tracker.ceph.com/issues/55603
Signed-off-by: Sumedh A. Kulkarni <sumedh.a.kulkarni@seagate.com>
(cherry picked from commit 4b8c66a074f3491129e1864388f980b812f47752)

Conflicts:
src/rgw/rgw_rest_user_policy.cc

Cherry-pick notes:
- Conflict due to try/catch block in RGWListUserPolicies::execute not present in Quincy
src/rgw/rgw_rest_user_policy.cc