]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: remote copy obj pass rgwx-perm-check-uid for perm evaluation
authorSeena Fallah <seenafallah@gmail.com>
Fri, 28 Mar 2025 20:55:20 +0000 (21:55 +0100)
committerCasey Bodley <cbodley@redhat.com>
Tue, 29 Apr 2025 14:22:47 +0000 (10:22 -0400)
commit4142084ba2cae3553247e4f7e69220819ffd009a
tree124b4e3f870a1959778e31cc2f66f95b9ce98b83
parentd7dae7dbbfec632b018603341cbd4d5ec7405355
rgw: remote copy obj pass rgwx-perm-check-uid for perm evaluation

When copying object from remote source (bucket from another zonegroup)
the perms of the source is not evaluated resulting in reading from
unauthorized buckets.
passing `rgwx-perm-check-uid` will let the source zone evaluates the
perm and close this bug.

Signed-off-by: Seena Fallah <seenafallah@gmail.com>
(cherry picked from commit 3c83520d3338e85e2219e34e77d1149033533a71)
src/rgw/driver/rados/rgw_rados.cc