LGBT people have been allowed to serve openly in Her Majesty's Armed Forces since 2000, and discrimination on the basis of sexual orientation has been forbidden since 2010. It is also forbidden for someone to pressure LGBT people to come out. All personnel are subject to the same rules against intolerance, bullying and sexual harassment, regardless of gender identity or sexual orientation. The British military also recognises civil partnerships and grants same-sex couples the same rights to allowances and housing as opposite-sex couples.