Permission granted in prison law legal aid challenge