I consider three moral communities and the case for trade.Guess which view I take? Hint: it's the only one that's vaguely coherent.
Peter wishes to trade with Jose. The individualist says the relevant moral community is Peter and Jose and presumptively no one else. Trade, the right of association, is a human right and on issues of rights the moral community is the individual. When Jose offers Peter a better deal than Joe it's wrong - a moral outrage - for Joe to prevent Jose at gun point from trading with Peter.
The more common view expressed implicitly by Dani Rodrik, but by many others as well, is the nationalist view, the moral community is Peter and Joe. Joe gets a vote on Peter's trades. Peter should be allowed to trade only if both Peter and Joe benefit, otherwise too bad. Jose counts for less.
A third view, that of the liberal internationalist, says that Peter, Jose and Joe count equally and are together the moral community.