A persons right to self-protection with a gun? That right was only protected for a certain class of citizens -- primarily white, male landowners.
Non-whites didn't have that right protected. Nor women, children, foreign visitors, illegal aliens, Indians, prisoners, the insane ... quite a few persons did not have that right protected.
Now, that's not to say they couldn't have guns. Just that their right to have them wasn't protected.