Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for getReadOnlyStatement (0.12 sec)

  1. cmd/policy_test.go

    		result := p.IsAllowed(testCase.args)
    
    		if result != testCase.expectedResult {
    			t.Fatalf("case %v: expected: %v, got: %v\n", i+1, testCase.expectedResult, result)
    		}
    	}
    }
    
    func getReadOnlyStatement(bucketName, prefix string) []miniogopolicy.Statement {
    	return []miniogopolicy.Statement{
    		{
    			Effect:    string(policy.Allow),
    			Principal: miniogopolicy.User{AWS: set.CreateStringSet("*")},
    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