Cal. Penal Code § 2045.6
The provisions of Part 3 (commencing with Section 2000) apply to the institution and to the persons confined therein insofar as those provisions may be applicable.