I personally think prisoners ought to work. In fact, international law would support at least the right of prisoners to work as we can read in the Universal Declaration of Human Rights:
Article 23.
(1) Everyone has the right to work, to free choice of employment, to just and favourable...