]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw: Check bucket versioning operations in policy
authorAdam C. Emerson <aemerson@redhat.com>
Wed, 27 Sep 2017 18:35:59 +0000 (14:35 -0400)
committerAdam C. Emerson <aemerson@redhat.com>
Wed, 27 Sep 2017 18:35:59 +0000 (14:35 -0400)
commit16de0fc1c5ede961ebd481f13753214a971c206c
treef802bbdbac6c6491d0e3d84dc8a17490b92112bd
parentf9d1ae1d153319e870c3ccaf7afdc92786cdaa3b
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>
src/rgw/rgw_op.cc