From 258a2e1104caf32d30e852fdf8c5b2c33e955220 Mon Sep 17 00:00:00 2001 From: luomuyao Date: Fri, 19 Jan 2018 16:13:14 +0800 Subject: [PATCH] rgw: fix a typo in rgw_perms[] Signed-off-by: luomuyao --- src/rgw/rgw_json_enc.cc | 2 +- src/rgw/rgw_user.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 } }; -- 2.47.3