]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw: check source object replication by replication actions
authorSeena Fallah <seenafallah@gmail.com>
Mon, 24 Feb 2025 22:41:13 +0000 (23:41 +0100)
committerCasey Bodley <cbodley@redhat.com>
Tue, 29 Apr 2025 14:22:47 +0000 (10:22 -0400)
commitd4b00d202ee6741cb12679fe1574e454e1f66ed0
tree1a89a588d2312529993642fec46064b85fac98d7
parent473087f339663350b13157f953be3edfa0f74100
rgw: check source object replication by replication actions

Check for permissions of `s3:GetObjectVersionForReplication` in
addition to `s3:GetObject` and `s3:GetObjectVersion` when fetching
the object for multisite.

Signed-off-by: Seena Fallah <seenafallah@gmail.com>
(cherry picked from commit 89d92dee29a15c5d1be71859be9a2b485236ef4b)
src/rgw/rgw_common.h
src/rgw/rgw_iam_policy.cc
src/rgw/rgw_iam_policy.h
src/rgw/rgw_op.cc
src/test/rgw/test_rgw_iam_policy.cc