Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for mustListObjects (0.07 sec)

  1. cmd/sts-handlers_test.go

    	dillonClient := makeSTSClient("******@****.***", "dillon")
    	// Validate client's permissions
    	c.mustListBuckets(ctx, dillonClient)
    	c.mustListObjects(ctx, dillonClient, "projecta")
    	c.mustListObjects(ctx, dillonClient, "projectb")
    	c.mustListObjects(ctx, dillonClient, "projectaorb")
    	c.mustNotListObjects(ctx, dillonClient, "other")
    
    	// this user's groups attribute is ["projectb"]
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 23:40:37 UTC 2024
    - 97.1K bytes
    - Viewed (0)
  2. cmd/admin-handlers-users_test.go

    		Policies: []string{policy},
    		User:     accessKey,
    	})
    	if err != nil {
    		c.Fatalf("unable to attach policy: %v", err)
    	}
    	// 2.3 check user has access to bucket
    	c.mustListObjects(ctx, uClient, bucket)
    	// 2.3 check that user cannot delete the bucket
    	err = uClient.RemoveBucket(ctx, bucket)
    	if err == nil || err.Error() != "Access Denied." {
    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