You can’t be discriminated against for having a beard unless it presents a legitimate safety or hygiene issue. Workplaces must accommodate religious practices like wearing beards. Arbitrary 'beard bans' are illegal and you have legal recourse if unfairly targeted.