]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: Check payment operations in policy
authorAdam C. Emerson <aemerson@redhat.com>
Thu, 14 Sep 2017 22:07:15 +0000 (18:07 -0400)
committerAbhishek Lekshmanan <abhishek@suse.com>
Fri, 20 Oct 2017 15:02:11 +0000 (17:02 +0200)
commitbe1ded107ac4e1a1b1515d40553aed3581e0afac
tree01a867994dd0ff9d0e0bcfc94ce852000f5cd60d
parent5a4850c8c66b75d02fc2597e1ca744c6b0303836
rgw: Check payment operations in policy

Add code to check s3:GetBucketRequestPayment and
s3:PutBucketRequestPayment operations against bucket policy.

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