A local agency having general planning jurisdiction may require adherence to appropriate zoning ordinances, use permits, construction or safety codes, by a school district seeking to lease a portion of a school building for uses other than public or education-related uses.
Ca. Educ. Code § 17533