In Greek city-state governments, voting was open to who?

Voting in Greek city-state governments was open to all male citizens.