Cal. Bus. & Prof. Code § 26322
(a) A local jurisdiction shall not adopt or enforce any regulation that prohibits the retail sale by delivery within the local jurisdiction of medicinal cannabis to medicinal cannabis patients or their primary caregivers, or that otherwise has the effect of prohibiting the retail sale by delivery within the local jurisdiction of medicinal cannabis to medicinal cannabis patients or their primary caregivers by licensed medicinal cannabis businesses in a timely and readily accessible manner, and in types and quantities that are sufficient to meet demand from medicinal cannabis patients within the local jurisdiction, including, but not limited to, regulation of any of the following that has the effect of prohibiting the retail sale by delivery of medicinal cannabis:
(b) Nothing in this chapter shall be construed to prohibit the adoption or enforcement of reasonable regulations on retail sale by delivery of medicinal cannabis, including, but not limited to, reasonable regulations related to: