ceph/ceph — pull request #1858 by yehudasa (2014-05-23 16:44:08+00:00)
Title: rgw: check appropriate entity permission on put_metadata

Fixes: #8428
Backport: firefly

Cannot use verify_object_permission() to test acls, as the operation
here might either be on object or on bucket.

Signed-off-by: Yehuda Sadeh