It's very simple:
Unlock it in the form of an achievement if you have completed every quest in every zone for the first character you level through.
After you earn the account wide achievement, every new character can automatically fly if they have trained flying.
Going forward, every expansion should stick to this logic.