If you have child and a cat or dog, how old was your child when you allowed the pet to access your child's bedroom when the child is sleeping?

Our cats have free reign of our bedroom at night, and one of them is usually sleeping by my feet when I wake up in the morning. I guess I'm wondering when my son might be able to share the cat love!

Right now this is just a theoretical question for me. My son is *way* too young to be left alone with an animal. At night, he always sleeps with the door to his room closed.