Fully agree, but we shouldn't call this discrimination.  She was clearly not a good fit for this role.  If she was turned down for a completely unrelated role (such as a dentist, or a florest, etc). because of her views, that would be discrimination.  For good reason every company/organization makes decisions about fit when hiring.