In this paper, an intrinsic description of some families of linear codes with symmetries is given, showing that they can be described more generally as quasi-group codes, that is, as linear codes allowing a group of permutation automorphisms which acts freely on the set of coordinates. An algebraic description, including the concatenated structure, of such codes is presented. This allows to construct quasi-group codes from codes over rings, and vice versa. The last part of the paper is dedicated to the investigation of self-duality of quasi-group codes.