summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYehuda Sadeh <yehuda@inktank.com>2013-04-17 12:49:01 -0700
committerYehuda Sadeh <yehuda@inktank.com>2013-04-17 12:49:01 -0700
commit511e3bb2c145b47d18b09aa7e54d5d2ab10c3454 (patch)
tree5a68a9e9cb0ff067116500ffe7700c862851b439
parentc09eb9fe6440ca44a9cb325ee067a8025b58f8a0 (diff)
downloadceph-511e3bb2c145b47d18b09aa7e54d5d2ab10c3454.tar.gz
rgw-admin: object stat also decodes policy
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
-rw-r--r--src/rgw/rgw_admin.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rgw/rgw_admin.cc b/src/rgw/rgw_admin.cc
index 25f39222d41..872c5dd2eeb 100644
--- a/src/rgw/rgw_admin.cc
+++ b/src/rgw/rgw_admin.cc
@@ -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) {