Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for mustNotListObjects (0.32 sec)

  1. cmd/admin-handlers-users_test.go

    	if err != nil {
    		c.Fatalf("Unable to set user: %v", err)
    	}
    	// 2.1 check that user does not have any access to the bucket
    	uClient := s.getUserClient(c, accessKey, secretKey, "")
    	c.mustNotListObjects(ctx, uClient, bucket)
    
    	// 2.2 create and associate policy to user
    	policy := "mypolicy-test-user-update"
    	policyBytes := []byte(fmt.Sprintf(`{
     "Version": "2012-10-17",
     "Statement": [
      {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 22 00:33:43 UTC 2024
    - 47.3K bytes
    - Viewed (0)
Back to top