- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for getAnonWriteOnlyObjectPolicy (0.1 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 Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 163.1K 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 Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 32.9K bytes - Viewed (0)