From: luomuyao Date: Fri, 19 Jan 2018 08:13:14 +0000 (+0800) Subject: rgw: fix a typo in rgw_perms[] X-Git-Tag: v13.0.2~268^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=258a2e1104caf32d30e852fdf8c5b2c33e955220;p=ceph.git rgw: fix a typo in rgw_perms[] Signed-off-by: luomuyao --- diff --git a/src/rgw/rgw_json_enc.cc b/src/rgw/rgw_json_enc.cc index 48690abc9da1..13e7380a654a 100644 --- a/src/rgw/rgw_json_enc.cc +++ b/src/rgw/rgw_json_enc.cc @@ -315,7 +315,7 @@ static struct rgw_flags_desc rgw_perms[] = { { RGW_PERM_READ, "read" }, { RGW_PERM_WRITE, "write" }, { RGW_PERM_READ_ACP, "read-acp" }, - { RGW_PERM_WRITE_ACP, "read-acp" }, + { RGW_PERM_WRITE_ACP, "write-acp" }, { 0, NULL } }; diff --git a/src/rgw/rgw_user.cc b/src/rgw/rgw_user.cc index 210b01c8faa1..6ac54b4b9b23 100644 --- a/src/rgw/rgw_user.cc +++ b/src/rgw/rgw_user.cc @@ -531,7 +531,7 @@ static struct rgw_flags_desc rgw_perms[] = { { RGW_PERM_READ, "read" }, { RGW_PERM_WRITE, "write" }, { RGW_PERM_READ_ACP, "read-acp" }, - { RGW_PERM_WRITE_ACP, "read-acp" }, + { RGW_PERM_WRITE_ACP, "write-acp" }, { 0, NULL } };