]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: Check bucket CORS operations in policy 18444/head
authorAdam C. Emerson <aemerson@redhat.com>
Wed, 27 Sep 2017 19:42:27 +0000 (15:42 -0400)
committerAbhishek Lekshmanan <abhishek@suse.com>
Fri, 20 Oct 2017 15:04:58 +0000 (17:04 +0200)
commitabefb578c345a0ddd7100cae987e582b530d3729
tree0dc44a194b84e628668221b86f73b7e2ca452c40
parent5a4850c8c66b75d02fc2597e1ca744c6b0303836
rgw: Check bucket CORS operations in policy

Add code to check s3:GetCORS and s3:PutCORS operations against bucket
policy.

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