that problem is a distinct possbilty.
Oh, get serious, G50AE. You're concocting boogeymen to worry about. Just because a government official can exercise discretion doesn't mean that the official can discriminate on the basis of race, color, creed, etc. If an Alabama sheriff refused a CCW permit to a qualified citizen, the Alabama legislature would make the state "shall issue" within a week. And there are supposed "shall issue" states—like Rhode Island—that in practice make things as difficult as possible for applicants, and "may issue" states—like Maryland, Hawaii, and New Jersey—that simply do not issue at all.
People get refused there permits all the time when the issuing authority has the ability too, do you think a racist Sheriff that refuses all Black applicants actually puts that down as the denial reason? It's very easy to put something else there...but that doesn't mean thats not why they got denied. I come from a state (MA) where EVERYBODY is equally hated when it comes to getting your permit. But it's nuts to think that stuff doesn't happen.