Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for upload (0.16 sec)

  1. cmd/admin-handlers-users_test.go

    	// 3.1 check user has access to bucket
    	c.mustListObjects(ctx, client, bucket)
    
    	// 3.2 check that user cannot upload an object.
    	_, err = client.PutObject(ctx, bucket, "objectName", bytes.NewBuffer([]byte("some content")), 12, minio.PutObjectOptions{})
    	if err == nil {
    		c.Fatalf("user was able to upload unexpectedly")
    	}
    
    	// Create an madmin client with user creds
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 12 16:36:16 GMT 2024
    - 45.7K bytes
    - Viewed (0)
Back to top