Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for mustNotListObjects (0.08 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 := fmt.Appendf(nil, `{
     "Version": "2012-10-17",
     "Statement": [
      {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Oct 15 17:00:45 UTC 2025
    - 50.6K 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 Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Oct 15 17:00:45 UTC 2025
    - 103.4K bytes
    - Viewed (1)
Back to top