D&C 68:18-19; “No man has a legal right to this office, to hold the keys of this priesthood, except he be a literal descendant and the firstborn of Aaron. 19 But, as a high priest of the Melchizedek Priesthood has authority to officiate in all the lesser offices he may officiate in the office of bishop when no literal descendant of Aaron can be found, provided he is called and set apart and ordained unto this power, under the hands of the First Presidency of the Melchizedek Priesthood.”
Titus 1:7-9; “For a bishop must be blameless, as the steward of God; not selfwilled, not soon angry, not given to wine, no striker, not given to filthy lucre; 8 But a lover of hospitality, a lover of good men, sober, just, holy, temperate; 9 Holding fast the faithful word as he hath been taught, that he may be able by sound doctrine both to exhort and to convince the gainsayers.”
So there’s always a way around the rules and if you don’t qualify for something well then, hey, we’ll just have a meeting and pray over you! Good grief.