Database model, get has_many ids
UserGroup cs locales