Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for authorizeRequest (0.06 seconds)

  1. cmd/auth-handler.go

    		}
    
    		// Populate payload again to handle it in HTTP handler.
    		r.Body = io.NopCloser(bytes.NewReader(payload))
    	}
    
    	logger.GetReqInfo(ctx).Region = region
    
    	return s3Err
    }
    
    func authorizeRequest(ctx context.Context, r *http.Request, action policy.Action) (s3Err APIErrorCode) {
    	reqInfo := logger.GetReqInfo(ctx)
    	if reqInfo == nil {
    		return ErrAccessDenied
    	}
    
    	cred := reqInfo.Cred
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 25.4K bytes
    - Click Count (0)
Back to Top