From spinning primaries to permutation orbifolds