To look for a single general theory of how to decide the right thing to do is like looking for a single theory of how to decide what to believe.
Today, unfortunately, the right to vote seems to have become a partisan issue. Democrats seek to guarantee and expand voting rights. Republicans try to undermine and suppress voting rights.