Remove policy nesting errors (#7449)

Policy nesting has been supported for a while
now, we should remove references of code and
docs indicating nesting is not allowed anymore.
This commit is contained in:
Harshavardhana
2019-03-31 08:42:43 -07:00
committed by GitHub
parent dd1d69ab5c
commit 619611933a
4 changed files with 0 additions and 54 deletions

View File

@@ -184,7 +184,6 @@ const (
ErrStorageFull
ErrRequestBodyParse
ErrObjectExistsAsDirectory
ErrPolicyNesting
ErrInvalidObjectName
ErrInvalidResourceName
ErrServerNotInitialized
@@ -884,11 +883,6 @@ var errorCodes = errorCodeMap{
Description: "Multiple disks failures, unable to write data.",
HTTPStatusCode: http.StatusServiceUnavailable,
},
ErrPolicyNesting: {
Code: "XMinioPolicyNesting",
Description: "New bucket policy conflicts with an existing policy. Please try again with new prefix.",
HTTPStatusCode: http.StatusConflict,
},
ErrInvalidObjectName: {
Code: "XMinioInvalidObjectName",
Description: "Object name contains unsupported characters.",