]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: fix a typo in rgw_perms[] 20024/head
authorluomuyao <luo.muyao@zte.com.cn>
Fri, 19 Jan 2018 08:13:14 +0000 (16:13 +0800)
committerluomuyao <luo.muyao@zte.com.cn>
Tue, 30 Jan 2018 01:10:30 +0000 (09:10 +0800)
Signed-off-by: luomuyao <luo.muyao@zte.com.cn>
src/rgw/rgw_json_enc.cc
src/rgw/rgw_user.cc

index 48690abc9da1c9d8b106b96f1022fa2627ed510b..13e7380a654ab8c10314473b855ce25fc5a6fc14 100644 (file)
@@ -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 }
 };
 
index 210b01c8faa11546cae97d9e8cf26aa4003497b0..6ac54b4b9b2352f3352a0f1d00da5211d7e14453 100644 (file)
@@ -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 }
 };