Universal human rights is an invention by Whites, notably during the European Enlightenment. Before this, only ingroup members were seen as having certain "natural" rights, such as ingroup members of one's own tribe or ingroup citizens of one's own state. Outgroup members could have certain temporary rights, such as if there existed a treaty between groups, but outgroup members such as slaves had no rights and slavery was practiced worldwide.
The justifications, definitions, enforcement, and effects of universal human rights are controversial and disputed. See for example, the article on the Universal Declaration of Human Rights.