I can't find a link but I thought after the New Mexico riots judges were in charge of the department of corrections and reviewing housing assignments and such (especially the privatized) for the facilities. Somewhere I have a few books on incarceration reform and corrections history (legal).