the legal basis of civil rights