According to CAD regulations, wearing glasses is permitted.
As for Flight attendant or Cockpit crew wearing glasses, it depends on the airlines.
For the airlines in HK, it is permitted, but there is a restriction on what kind of glasses worn for flight attendants, in short, both cockpit and cabin crew CAN wear glasses.