]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw-admin: object stat also decodes policy
authorYehuda Sadeh <yehuda@inktank.com>
Wed, 17 Apr 2013 19:49:01 +0000 (12:49 -0700)
committerYehuda Sadeh <yehuda@inktank.com>
Wed, 8 May 2013 18:01:17 +0000 (11:01 -0700)
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
src/rgw/rgw_admin.cc

index 25f39222d41e54d9c327ce53577022b946a2317a..872c5dd2eeb2891f3c35dce4e30374146195e5a7 100644 (file)
@@ -1573,6 +1573,8 @@ next:
       bool handled = false;
       if (iter->first == RGW_ATTR_MANIFEST) {
         handled = decode_dump<RGWObjManifest>("manifest", bl, formatter);
+      } else if (iter->first == RGW_ATTR_ACL) {
+        handled = decode_dump<RGWAccessControlPolicy>("policy", bl, formatter);
       } else if (iter->first == RGW_ATTR_ID_TAG) {
         handled = dump_string("tag", bl, formatter);
       } else if (iter->first == RGW_ATTR_ETAG) {