]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: Check bucket GetBucketLocation in policy 18443/head
authorAdam C. Emerson <aemerson@redhat.com>
Wed, 27 Sep 2017 20:08:56 +0000 (16:08 -0400)
committerAbhishek Lekshmanan <abhishek@suse.com>
Fri, 20 Oct 2017 15:04:05 +0000 (17:04 +0200)
commit0b84dd07c41a6d69d99672218c72a4f69c21b040
tree0fb0b8455366e0fbd3c21f6a93644090310dffab
parent5a4850c8c66b75d02fc2597e1ca744c6b0303836
rgw: Check bucket GetBucketLocation in policy

Add code to check s3:GetBucketLocation against bucket policy.

Fixes: http://tracker.ceph.com/issues/21582
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1493934
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
(cherry picked from commit 79188d679edeb6e2f7ca852fdc4224368412cb72)
src/rgw/rgw_op.cc