Your rights. Legal Framework
In this case to the articles of the Spanish Constitution which reflects the following:
2. Corresponds to public authorities to promote conditions for freedom and equality of individuals and groups to which they belong are real and effective; remove the obstacles that prevent not hindering their full enjoyment and participation of all citizens in political, economic, cultural and social.
Spanish people are equal before the law, there may be no discrimination on grounds of birth, race, sex, religion, opinion or any other condition or personal or social circumstance.
Based on this framework, over time laws have been created to achieve the objective of equality between different groups at risk of social exclusion such as laws for Effective Equality of Women and Men, equal opportunity, non-discrimination and universal access for people with disabilities ... etc. that can be found on the Web Ministry of Health, Social Services and Equality
This is the legal framework at national level but there is also a European and global context.
At global level there is a declarative document, the Universal Declaration of Human Rights of 1948 signed by the United Nations. Article 2 of the statement reads:
Everyone is entitled to all the rights and freedoms set forth in this Declaration, without distinction of race, color, sex, language, religion, political or other opinion, national or social origin, property, birth or other status. Furthermore, not distinction shall be made based on the political, jurisdictional or international status of the country or territory to which a person belongs, whether it be independent, as a Trust Territory, not autonomous or under any other limitation of sovereignty.
Here you can find the complete declaration. Universal Declaration of Human Rights
This document is a statement, but after having the covenants herein by reference, gave rise to the International Charter of Human Rights, in which the signatories commit themselves to these items.
The European Union goes beyond and in his treatise includes operating the following article to ensure non-discrimination:
Article 19 (ex Article 13 TEC)
1. Without prejudice to the other provisions of the Treaties and within the limits of the competences conferred on the Union by them, the Council, acting unanimously in accordance with a special legislative procedure, and after approval by the European Parliament, may take appropriate action to combat discrimination based on sex, racial or ethnic origin, religion or belief, disability, age or sexual orientation.
This would be the legal framework governed by the laws of equality and non-discrimination in the country and the European Union.
Written by Eurodesk Qualified Multiplier, Ayuntamiento de Leganés