]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw/sts: code to check IAM policy and return an 44462/head
authorPritha Srivastava <prsrivas@redhat.com>
Mon, 19 Jul 2021 10:27:52 +0000 (15:57 +0530)
committerPritha Srivastava <prsrivas@redhat.com>
Fri, 19 Jan 2024 15:06:41 +0000 (20:36 +0530)
commit7df41ea66e7f5a12c2c89837dfba9359e7c42698
treeda8139e5f0df710a8ff5372a407b329df910fb26
parentf4ab5e2e4a537cfb79ed062bb85acbb15a06111f
rgw/sts: code to check IAM policy and return an
appropriate error incase Resource specified in the
IAM policy is incorrect and is discarded. The IAM
policy can be a resource policy or an identity policy.
This is for policies that have already been set.

Fixes: https://tracker.ceph.com/issues/51219
Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
(cherry picked from commit a79fa82939ad83b1a8365f100e7426eb8e144e2e)
src/rgw/rgw_common.cc
src/rgw/rgw_iam_policy.cc
src/rgw/rgw_iam_policy.h
src/rgw/rgw_op.cc
src/rgw/rgw_rest_sts.cc
src/test/rgw/test_rgw_iam_policy.cc