]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: swift: fix anonymous user's error code of getting object 13242/head
authorJing Wenjun <jingwenjun@cmss.chinamobile.com>
Fri, 3 Feb 2017 11:06:31 +0000 (19:06 +0800)
committerJing Wenjun <jingwenjun@cmss.chinamobile.com>
Mon, 6 Feb 2017 10:50:34 +0000 (18:50 +0800)
commit318de28e1011914dc7f3701549eb3ef227abbc3c
treea40ce853e13bcd7539ce976150c55dbd41fd0443
parent3c0561cb0aca747f9465e3ce90049ebb4d3a8927
rgw: swift: fix anonymous user's error code of getting object

The openstack swift will return 401 rather than 403 when
the anon user has no permission to get objects.

Fixes: http://tracker.ceph.com/issues/18806
Signed-off-by: Jing Wenjun <jingwenjun@cmss.chinamobile.com>
src/rgw/rgw_rest_swift.cc
src/rgw/rgw_rest_swift.h