According to the UK immigration legislation, your partner must be one the following:
UK citizen.
Irish citizen.
Someone withan indefinite leave to remain in the UK.
EU citizen, or citizen of Liechtenstein, Switzerland, Iceland and Norway, who has the right to stay in the UK.
Political or humanitarian refugee.
Most resources on this topic would only talk about the first three categories which are the most common.