]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: skip read_policy checks for system_users
authorJosh Durgin <josh.durgin@inktank.com>
Thu, 10 Oct 2013 22:50:39 +0000 (15:50 -0700)
committerJosh Durgin <josh.durgin@inktank.com>
Fri, 1 Nov 2013 23:17:30 +0000 (16:17 -0700)
commit90101aea6818c2f43bf31243d912ec9143f68882
treebc4686e93ba41b0191e571649bad17c45cd62d85
parent7ef210adbd4645bd45e5387c9b03a122a7ca82df
rgw: skip read_policy checks for system_users

A system user should still be able to examine suspended buckets, and
get -ENOENT instead of -EACCESS for a deleted object.

Fixes: #6616
Backport: dumpling
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
(cherry picked from commit ea816c1c2fd47eab647d6fab96c9ca4bfeecd5bb)
src/rgw/rgw_op.cc