Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ErrAccessDenied (0.06 sec)

  1. cmd/object-handlers.go

    				if reader != nil && proxy.Proxy && perr == nil {
    					gr = reader
    				}
    			}
    		}
    		if reader == nil || !proxy.Proxy {
    			// validate if the request indeed was authorized, if it wasn't we need to return "ErrAccessDenied"
    			// instead of any namespace related error.
    			if s3Error := authorizeRequest(ctx, r, policy.GetObjectAction); s3Error != ErrNone {
    				writeErrorResponse(ctx, w, errorCodes.ToAPIErr(s3Error), r.URL)
    				return
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 05 05:16:15 UTC 2024
    - 117.4K bytes
    - Viewed (0)
Back to top