- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for getAnonReadOnlyBucketPolicy (0.17 sec)
-
cmd/bucket-handlers_test.go
// unsigned request goes through and its validated again. ExecObjectLayerAPIAnonTest(t, obj, "TestGetBucketLocationHandler", bucketName, "", instanceType, apiRouter, anonReq, getAnonReadOnlyBucketPolicy(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) -
cmd/bucket-policy-handlers_test.go
"net/http/httptest" "reflect" "strings" "sync" "testing" "github.com/minio/minio/internal/auth" "github.com/minio/pkg/v3/policy" "github.com/minio/pkg/v3/policy/condition" ) func getAnonReadOnlyBucketPolicy(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)