]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: deny writes to a secondary zone by non-system users
authorYehuda Sadeh <yehuda@inktank.com>
Tue, 5 Nov 2013 22:54:20 +0000 (14:54 -0800)
committerYehuda Sadeh <yehuda@inktank.com>
Thu, 7 Nov 2013 17:17:22 +0000 (09:17 -0800)
commit84fb1bf3eefe88c0f5f15034d69c171e6531bf76
treefa91948a80bebdbd35048ea870aac23fb11b97c6
parentd8f05024e7f8e7c864bb5030412f6d89f67a711f
rgw: deny writes to a secondary zone by non-system users

Fixes: #6678
We don't want to allow regular users to write to secondary zones,
otherwise we'd end up with data inconsistencies.

Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
src/rgw/rgw_op.cc
src/rgw/rgw_rados.cc
src/rgw/rgw_rados.h