From acda80687dcff5469bb7c9e96a3717ca4fb7102e Mon Sep 17 00:00:00 2001 From: Yehuda Sadeh Date: Mon, 30 Nov 2015 10:29:49 -0800 Subject: [PATCH] rgw: add a missing cap type Signed-off-by: Yehuda Sadeh --- src/rgw/rgw_common.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/rgw/rgw_common.cc b/src/rgw/rgw_common.cc index 9f59459c109b..3b9f6fc13cf1 100644 --- a/src/rgw/rgw_common.cc +++ b/src/rgw/rgw_common.cc @@ -1158,7 +1158,8 @@ int RGWUserCaps::check_cap(const string& cap, uint32_t perm) bool RGWUserCaps::is_valid_cap_type(const string& tp) { - static const char *cap_type[] = { "users", + static const char *cap_type[] = { "user", + "users", "buckets", "metadata", "usage", -- 2.47.3