Who issues the main health permit for a restaurant in California?

Usually your county environmental health department (or local health authority) issues the food facility permit and conducts inspections.