The person having custody of a prisoner convicted of a misdemeanor offense may approve that prisoner's participation in an adult high school equivalency diploma program or in any other education, rehabilitation, or training program. The person having custody of the prisoner may revoke this approval at any time. For purposes of this section, the person having custody of the prisoner is the sheriff, except that when the prisoner is confined in a district confinement facility the person having custody of the prisoner is the jail administrator.
N.C. Gen. Stat. § 162-59.1