Symmetries, Group actions, and entanglement