Who Files taxes when parents are separated can not come to a agreement

My son is 10yrs old he lives with  me and visits his dad on the weekends. His dad did not ask me for permission to file kaydin he just did it, who has the right to file him w no court order.