]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: check for s3ReplicateObject perm on destination bucket for replication
authorSeena Fallah <seenafallah@gmail.com>
Thu, 20 Feb 2025 23:56:28 +0000 (00:56 +0100)
committerSeena Fallah <seenafallah@gmail.com>
Mon, 28 Apr 2025 16:56:05 +0000 (18:56 +0200)
commit97ee3287fb3b062eda0d07f07a219eafb04a5a6a
tree3820a3bdda6adc6fe600a6053bb880cb369e8951
parentd7fe7915b452c5639b415d6457e272fe0d235ef5
rgw: check for s3ReplicateObject perm on destination bucket for replication

Instead of s3:PutObject rely on s3:s3ReplicateObject permission to
check whether the user can replicate to the destination bucket.

Signed-off-by: Seena Fallah <seenafallah@gmail.com>
src/rgw/driver/rados/rgw_data_sync.cc
src/rgw/rgw_iam_policy.cc
src/rgw/rgw_iam_policy.h