- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for getAnonReadOnlyObjectPolicy (0.26 sec)
-
cmd/bucket-policy-handlers_test.go
policy.ListBucketMultipartUploadsAction, ), policy.NewResourceSet(policy.NewResource(bucketName)), condition.NewFunctions(), ), }, } } func getAnonReadOnlyObjectPolicy(bucketName, prefix string) *policy.BucketPolicy { return &policy.BucketPolicy{ Version: policy.DefaultVersion, Statements: []policy.BPStatement{ policy.NewBPStatement( "", policy.Allow,
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Jan 18 07:03:17 GMT 2024 - 32.7K bytes - Viewed (0) -
cmd/object-handlers_test.go
// unsigned request goes through and its validated again. ExecObjectLayerAPIAnonTest(t, obj, "TestAPIHeadObjectHandler", bucketName, objectName, instanceType, apiRouter, anonReq, getAnonReadOnlyObjectPolicy(bucketName, objectName)) // 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
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sun Apr 28 17:53:50 GMT 2024 - 160K bytes - Viewed (0)