]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: Check bucket versioning operations in policy 18440/head
authorAdam C. Emerson <aemerson@redhat.com>
Wed, 27 Sep 2017 18:35:59 +0000 (14:35 -0400)
committerAbhishek Lekshmanan <abhishek@suse.com>
Fri, 20 Oct 2017 15:02:11 +0000 (17:02 +0200)
commit4c18ac124048f72a10d92aecfe1eadabab0a80b4
treea5b62ec6d26614177dd3d9a9d4b26048e5714cdb
parentbe1ded107ac4e1a1b1515d40553aed3581e0afac
rgw: Check bucket versioning operations in policy

Add code to check s3:GetBucketVersioning and s3:PutBucketVersioning
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 16de0fc1c5ede961ebd481f13753214a971c206c)
src/rgw/rgw_op.cc