]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: check appropriate entity permission on put_metadata 1858/head
authorYehuda Sadeh <yehuda@inktank.com>
Fri, 23 May 2014 01:27:58 +0000 (18:27 -0700)
committerYehuda Sadeh <yehuda@inktank.com>
Fri, 23 May 2014 16:40:17 +0000 (09:40 -0700)
commit2ceb13af34bc38b418bb88d81131d770a71159bf
tree567b46b8426c9ba832981a1ebe8e33aadc81d1c0
parent04f8e0effaae54d1cc4c4b34d30db48b85039595
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 <yehuda@inktank.com>
src/rgw/rgw_op.cc