diff options
author | Yehuda Sadeh <yehuda@redhat.com> | 2017-11-21 23:50:23 +0100 |
---|---|---|
committer | Yehuda Sadeh <yehuda@redhat.com> | 2018-04-09 16:01:02 +0200 |
commit | 2d5d024f277a38e2f3274df7154780c227f0e117 (patch) | |
tree | edf00b76ac65d308a14f0d3976ca31ab142f3718 /src/rgw/rgw_common.cc | |
parent | rgw: S3 get bucket versioning returns MFA status (diff) | |
download | ceph-2d5d024f277a38e2f3274df7154780c227f0e117.tar.xz ceph-2d5d024f277a38e2f3274df7154780c227f0e117.zip |
rgw: fix mfa setting, verify on object deletion
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Diffstat (limited to 'src/rgw/rgw_common.cc')
-rw-r--r-- | src/rgw/rgw_common.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rgw/rgw_common.cc b/src/rgw/rgw_common.cc index f319c5c113a..7f1769fd0e6 100644 --- a/src/rgw/rgw_common.cc +++ b/src/rgw/rgw_common.cc @@ -84,6 +84,7 @@ rgw_http_errors rgw_http_s3_errors({ { ERR_USER_SUSPENDED, {403, "UserSuspended" }}, { ERR_REQUEST_TIME_SKEWED, {403, "RequestTimeTooSkewed" }}, { ERR_QUOTA_EXCEEDED, {403, "QuotaExceeded" }}, + { ERR_MFA_REQUIRED, {403, "AccessDenied" }}, { ENOENT, {404, "NoSuchKey" }}, { ERR_NO_SUCH_BUCKET, {404, "NoSuchBucket" }}, { ERR_NO_SUCH_WEBSITE_CONFIGURATION, {404, "NoSuchWebsiteConfiguration" }}, |