You cannot be discriminated against because of your citizenship, except where Canadian citizenship is a legal requirement to get a job or get certain services. For example, since the law requires that you must be a Canadian citizen to vote in a municipal or provincial election, this requirement is not discrimination.
There is no discrimination if Canadian citizenship or permanent residency is required to take part in a cultural, educational, union or sporting activity. For example, certain competitive sports require that participants be either Canadian citizens or permanent residents.
The Code also allows organizations to require Chief Executive Officers (CEOs) or other senior executives to meet residence requirements.