A criminal record does not necessarily preclude you from becoming a citizen, however it will be relevant to their assessment of your character for the purposes of your application. You can read more about character requirements here: Good character and offences