Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getAnonWriteOnlyBucketPolicy (0.2 sec)

  1. cmd/bucket-policy-handlers_test.go

    				policy.NewActionSet(policy.GetBucketLocationAction, policy.ListBucketAction),
    				policy.NewResourceSet(policy.NewResource(bucketName)),
    				condition.NewFunctions(),
    			),
    		},
    	}
    }
    
    func getAnonWriteOnlyBucketPolicy(bucketName string) *policy.BucketPolicy {
    	return &policy.BucketPolicy{
    		Version: policy.DefaultVersion,
    		Statements: []policy.BPStatement{
    			policy.NewBPStatement(
    				"",
    				policy.Allow,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 32.9K bytes
    - Viewed (0)
  2. cmd/bucket-handlers_test.go

    	// unsigned request goes through and its validated again.
    	ExecObjectLayerAPIAnonTest(t, obj, "TestListMultipartUploadsHandler", bucketName, "", instanceType, apiRouter, anonReq, getAnonWriteOnlyBucketPolicy(bucketName))
    
    	// HTTP request for testing when `objectLayer` is set to `nil`.
    	// There is no need to use an existing bucket and valid input for creating the request
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 39.8K bytes
    - Viewed (0)
Back to top