Some laws concerning other people are understood to be observed also to non Jewish persons; e.g. that is is forbidden to murder.
Others have been interpreted to be valid only towards Jews; e.g. leaning out money for interest.
What are the criteria in halacha (Rabbinic after the end of the 2nd Temple until medieval tradition) to discern it?
After a while of study, parting from a closely related post on a particular commandment
that shows that there is no full consent on the interpretation, it seems more appropriate to focus on different rabbis and schools:
What opinions have been pronounced in halacha (Rabbinic after the end of the 2nd Temple until late medieval tradition) on this topic?