Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for ErrAccessDenied (0.11 seconds)

  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
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 120.6K bytes
    - Click Count (0)
Back to Top