]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: improve authentication in RGWBulkDelete::Deleter.
authorRadoslaw Zarzynski <rzarzynski@mirantis.com>
Wed, 16 Mar 2016 15:36:21 +0000 (16:36 +0100)
committerRadoslaw Zarzynski <rzarzynski@mirantis.com>
Thu, 17 Mar 2016 12:28:52 +0000 (13:28 +0100)
commitd30f377a903a49a3f1967fb7cdb54f5c8d5ca84d
treef59188135c83c057e63f3f690b27e520d6c0afbb
parent164de7aa394b1cbb29ef47784779dd7b4617a196
rgw: improve authentication in RGWBulkDelete::Deleter.

According to how object removal is authorized by verify_permission()
method of RGWDeleteObj class, we don't need to examine ACL of each
single object specified to delete by the BulkDelete of Swift API.

This commit removes the unnecessary check.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
src/rgw/rgw_op.cc
src/rgw/rgw_op.h