Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for mustNotListObjects (0.21 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)
  2. cmd/sts-handlers_test.go

    	c.mustListObjects(ctx, dillonClient, "projectaorb")
    	c.mustNotListObjects(ctx, dillonClient, "other")
    
    	// this user's groups attribute is ["projectb"]
    	lisaClient := makeSTSClient("******@****.***", "liza")
    	// Validate client's permissions
    	c.mustListBuckets(ctx, lisaClient)
    	c.mustNotListObjects(ctx, lisaClient, "projecta")
    	c.mustListObjects(ctx, lisaClient, "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)
Back to top