Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for authorizeRequest (0.07 sec)

  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
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 25.4K bytes
    - Viewed (0)
Back to top