Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for mustNotListObjects (0.38 seconds)

  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": [
      {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Oct 15 17:00:45 GMT 2025
    - 50.6K bytes
    - Click Count (0)
Back to Top