Fix #6616
radosgw: system users are not handled well by read_policy()
0%
Description
System users should be able to read suspended buckets and get 404 for deleted buckets instead of 403.
Associated revisions
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>
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)
History
#1 Updated by Josh Durgin over 10 years ago
#2 Updated by Josh Durgin over 10 years ago
backport: https://github.com/ceph/ceph/pull/804
#3 Updated by Yehuda Sadeh over 10 years ago
- Status changed from Fix Under Review to Resolved
Was backported, commit:f1fa8116d441924d44c99624829f3daa090c821c