]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: load copy source bucket attrs in putobj 59253/head
authorSeena Fallah <seenafallah@gmail.com>
Fri, 16 Aug 2024 09:40:45 +0000 (11:40 +0200)
committerSeena Fallah <seenafallah@gmail.com>
Fri, 16 Aug 2024 09:40:45 +0000 (11:40 +0200)
commit8a71aea942d2c59e42721eac0ca931cac1054d84
treed21aec721635de99ce2119931cb860430e580669
parentcd8bdbeb9fbdab5733aa3aaadc042c965473e453
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>
src/rgw/rgw_op.cc
src/rgw/rgw_op.h