- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for getAnonWriteOnlyObjectPolicy (0.16 sec)
-
cmd/object-handlers_test.go
// unsigned request goes through and its validated again. ExecObjectLayerAPIAnonTest(t, obj, "TestAPIPutObjectHandler", bucketName, objectName, instanceType, apiRouter, anonReq, getAnonWriteOnlyObjectPolicy(bucketName, objectName)) // HTTP request to test the case of `objectLayer` being set to `nil`. // There is no need to use an existing bucket or valid input for creating the request,
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Sep 12 20:10:44 UTC 2024 - 163.2K bytes - Viewed (0) -
cmd/bucket-policy-handlers_test.go
policy.NewActionSet(policy.GetObjectAction), policy.NewResourceSet(policy.NewResource(bucketName+"/"+prefix)), condition.NewFunctions(), ), }, } } func getAnonWriteOnlyObjectPolicy(bucketName, prefix 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)