]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw/sts: code to check IAM policy and return an 41931/head
authorPritha Srivastava <prsrivas@redhat.com>
Mon, 19 Jul 2021 10:27:52 +0000 (15:57 +0530)
committerPritha Srivastava <prsrivas@redhat.com>
Thu, 23 Sep 2021 05:08:26 +0000 (10:38 +0530)
commita79fa82939ad83b1a8365f100e7426eb8e144e2e
tree676303d5b5e6f5114bf6a6e304e09f22e8082f27
parentbe42b2cf04def671023b98c811e77e1e357eb38e
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>
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