Several states have this power granted through specific legislation. They have the power to decide who can and can’t be on their ballots, many with specific requirements to meet constitutional eligibility. The courts, through the Constitution of the United States, have the enumerated power to resolve controversies arising under the Constitution.
As per my post #24, the deadline was 12/11/12.