Under section 340A.414, the commissioner of public safety may not issue a permit to an applicant who has, within five years prior to the application, been convicted of a felony or of violating any provision of chapter 340A or rules adopted under chapter 340A.