The operators in each of the Hilbert spaces have their own commutation relations, and an operator of one Hilbert space commutes with an operator from the other Hilbert space. Thus the symmetry group of the two particle Hamiltonian operator is the superset of the symmetry groups of the Hamiltonian operators of individual particles. If the individual Hilbert spaces are N dimensional, the combined Hilbert space is N dimensional.