]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw: load copy source bucket attrs in putobj
authorSeena Fallah <seenafallah@gmail.com>
Fri, 16 Aug 2024 09:40:45 +0000 (11:40 +0200)
committerSeena Fallah <seenafallah@gmail.com>
Thu, 22 Aug 2024 18:57:11 +0000 (20:57 +0200)
commitf2bb6fe919bdf77a4e75b2fb2c4f708ccef69dde
tree5db0735789e985fdc50e916f7c812cd3630dc5ee
parent279f5ceada7627448f78f729ecad64c934eb3972
rgw: load copy source bucket attrs in putobj

PutObj is not loading the source bucket's attrs, which prevents
the associated policies from being loaded. As a result, the
permissions granted to the user to read from the source bucket are
not being properly evaluated.

Fixes: https://tracker.ceph.com/issues/67590
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
(cherry picked from commit 8a71aea942d2c59e42721eac0ca931cac1054d84)
src/rgw/rgw_op.cc
src/rgw/rgw_op.h