Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for checkRequestAuthTypeWithVID (0.11 sec)

  1. cmd/auth-handler.go

    	logger.GetReqInfo(ctx).ObjectName = objectName
    
    	_, _, s3Err = checkRequestAuthTypeCredential(ctx, r, action)
    	return s3Err
    }
    
    // checkRequestAuthTypeWithVID is similar to checkRequestAuthType
    // passes versionID additionally.
    func checkRequestAuthTypeWithVID(ctx context.Context, r *http.Request, action policy.Action, bucketName, objectName, versionID string) (s3Err APIErrorCode) {
    	logger.GetReqInfo(ctx).BucketName = bucketName
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 17 16:45:46 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  2. cmd/bucket-handlers.go

    	vc, _ := globalBucketVersioningSys.Get(bucket)
    	oss := make([]*objSweeper, len(deleteObjectsReq.Objects))
    	for index, object := range deleteObjectsReq.Objects {
    		if apiErrCode := checkRequestAuthTypeWithVID(ctx, r, policy.DeleteObjectAction, bucket, object.ObjectName, object.VersionID); apiErrCode != ErrNone {
    			if apiErrCode == ErrSignatureDoesNotMatch || apiErrCode == ErrInvalidAccessKeyID {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 12:24:04 UTC 2024
    - 63.4K bytes
    - Viewed (0)
Back to top