Tail wagging the dog

A situation where a small part of something controls the larger part.

The tail is wagging the dog and the receptionist controls everything in the office.