Eventually it is found out but it takes time especially in the conditions when communication is difficult when the enemy is making it extremely awkward for information to come out to go.
My mother was told she couldn't go to medical school because she was a woman and a Jew. So she became a teacher in the New York City public school system.