Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestPolicyToBucketAccessPolicy (0.27 sec)

  1. cmd/policy_test.go

    			Resources: set.CreateStringSet(policy.NewResource(bucketName + "/" + prefix).String()),
    			Actions:   set.CreateStringSet("s3:GetObject"),
    		},
    	}
    }
    
    func TestPolicyToBucketAccessPolicy(t *testing.T) {
    	case1Policy := &policy.BucketPolicy{
    		Version: policy.DefaultVersion,
    		Statements: []policy.BPStatement{
    			policy.NewBPStatement("",
    				policy.Allow,
    				policy.NewPrincipal("*"),
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 8.9K bytes
    - Viewed (0)
Back to top