Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for evaluate (0.18 sec)

  1. cmd/iam.go

    	}
    
    	// 3. If an inline session-policy is present, evaluate it.
    	hasSessionPolicy, isAllowedSP := isAllowedBySessionPolicyForServiceAccount(args)
    	if hasSessionPolicy {
    		return isAllowedSP && (isOwnerDerived || combinedPolicy.IsAllowed(parentArgs))
    	}
    
    	// Sub policy not set. Evaluate only the parent policies.
    	return (isOwnerDerived || combinedPolicy.IsAllowed(parentArgs))
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  2. internal/s3select/select_test.go

    			if len(testCase.withJSON) > 0 {
    				in = testCase.withJSON
    			}
    			if err = s3Select.Open(newStringRSC(in)); err != nil {
    				t.Fatal(err)
    			}
    
    			w := &testResponseWriter{}
    			s3Select.Evaluate(w)
    			s3Select.Close()
    			resp := http.Response{
    				StatusCode:    http.StatusOK,
    				Body:          io.NopCloser(bytes.NewReader(w.response)),
    				ContentLength: int64(len(w.response)),
    			}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 76.2K bytes
    - Viewed (0)
  3. cmd/erasure-object.go

    					// opts.DeletePrefix is used only in the above lifecycle Expiration actions.
    				default:
    					// object has been modified since lifecycle action was previously evaluated
    					isErr = true
    				}
    				if isErr {
    					if goi.VersionID != "" {
    						return goi, VersionNotFound{
    							Bucket:    bucket,
    							Object:    object,
    							VersionID: goi.VersionID,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  4. cmd/bucket-handlers.go

    			apiErr := errorCodes.ToAPIErr(ErrInvalidRequest)
    			apiErr.Description = err.Error()
    			writeErrorResponse(ctx, w, apiErr, r.URL)
    			return
    		}
    
    		// if force delete header is set, we need to evaluate the policy anyways
    		// regardless of it being true or not.
    		if s3Error := checkRequestAuthType(ctx, r, policy.ForceDeleteBucketAction, bucket, ""); s3Error != ErrNone {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 16:27:27 GMT 2024
    - 61.6K bytes
    - Viewed (0)
Back to top