Who's responsible for figuring out who's legally able to vote?

After many of the 20 people recently charged and accused of voting illegally said no one ever told them they were not eligible to vote, people are questioning who exactly is responsible for figuring out who's legally able to vote.