]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: cannot modify swift bucket policy 2970/head
authorYehuda Sadeh <yehuda@redhat.com>
Sat, 13 Dec 2014 01:00:52 +0000 (17:00 -0800)
committerYehuda Sadeh <yehuda@redhat.com>
Sat, 13 Dec 2014 01:00:52 +0000 (17:00 -0800)
commitf773c749797635a605807b9a4967406f1a37f2e4
tree40d977d340d28855eba7b6dacf80bd4dbc96f4b4
parent07dc42a68e24f8b29317cd960b1a2f1e94caf324
rgw: cannot modify swift bucket policy

When trying to set a policy on the bucket, fail unless policy matches
current placement rule.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
src/rgw/rgw_op.cc
src/rgw/rgw_op.h
src/rgw/rgw_rest_swift.cc