Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestPolicySysIsAllowed (0.16 sec)

  1. cmd/policy_test.go

    	"testing"
    
    	miniogopolicy "github.com/minio/minio-go/v7/pkg/policy"
    	"github.com/minio/minio-go/v7/pkg/set"
    	"github.com/minio/pkg/v3/policy"
    	"github.com/minio/pkg/v3/policy/condition"
    )
    
    func TestPolicySysIsAllowed(t *testing.T) {
    	p := &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