]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: return default policy if policy attr is broken
authorYehuda Sadeh <yehuda@inktank.com>
Wed, 30 May 2012 22:28:19 +0000 (15:28 -0700)
committerYehuda Sadeh <yehuda@inktank.com>
Wed, 30 May 2012 23:22:51 +0000 (16:22 -0700)
commitd8df1e9913f154c1f6fdf2d8bcfa7f5e3f1ac4b3
tree6fe6287856245a82dbef39b7987335ba7cdc8b9b
parenta24145fcbfb8fbde83fdab3ac82a17283ef439c2
rgw: return default policy if policy attr is broken

In case the policy attr on object/bucket is broken
return a default policy, in which the owner is set
as the bucket owner.

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