Women didn’t receive the right to vote in Panama until 1941, and then it was partial, based on education. They received full voting rights in 1946.
Slavery was gradually abolished in Panama through the early 1800s, with full emancipation in 1851. I don’t believe there was ever discrimination in voting/citizenship based on skin color, which would have been nearly impossible due to the gradations found in the mulatto and mestizo populations, but darker-skinned Panamanians (of both African and indigenous ancestry) have always been discriminated against otherwise, and this still persists today. I am not sure what formal anti-racial discrimination measures are on the books, but I expect there are.
An attempt was made to disenfranchise English-speaking blacks from the West Indies by changing citizenship requirements in the Constitution of 1941 (ironically the same one that enfranchised women), along with other more recent non-Hispanic immigrants such as the Chinese, Lebanese, South Asians, etc. (I believe the provision was that you could only be a citizen if your grandparents were.) This was at the behest of President Dr. Arnulfo Arias, an acknowledged fascist and admirer of Hitler. Arias was soon deposed (as he was the other times he was elected president) and the provisions were removed. (Also ironically, Mireya Moscoso, the first female president, elected in 1989, was Arias’s widow.)
Although indigenous groups have been discriminated against, the Guna (Kuna) of the eastern Caribbean coast rebelled in 1925 and were eventually granted their own internally self-governing Comarca (homeland). Base on this model the other major indigenous groups have also been granted their own Comarcas.