While the directive’s rules governing migration of employed and self-employed people hardly differ from previous EU law, the migration and social-welfare rights of non-working EU citizens have been significantly extended. According to the directive, every EU citizen has the right to a residence permit for up to five years in any member state, followed by the right to permanent residence.