]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: copy object should not copy source acls
authorYehuda Sadeh <yehuda@inktank.com>
Wed, 16 Jan 2013 23:01:47 +0000 (15:01 -0800)
committerYehuda Sadeh <yehuda@inktank.com>
Thu, 17 Jan 2013 00:59:33 +0000 (16:59 -0800)
commitdf399da120afa0a4cdac7a7b07dce53b911323fb
tree4adc0f662f48b4edbffc8db521a1f26c86fe1816
parent830b8ffa2e53fde37b74de12a053e037ff3f15b0
rgw: copy object should not copy source acls

Fixes: #3802
Backport: argonaut, bobtail

When using the S3 api and x-amz-metadata-directive is
set to COPY we used to copy complete metadata of source
object. However, this shouldn't include the source ACLs.

Conflicts:
src/rgw/rgw_rados.cc

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
(cherry picked from commit ccfefe3097a51b49885f2ed5d9334e85b497d963)
src/rgw/rgw_rados.cc