It is illegal to consume, smoke, eat or vape cannabis in public as well as to open a package containing cannabis or any cannabis products in public. This includes but is not limited to parks, sidewalks, businesses and residential areas. It is also illegal to consume cannabis in other locations where smoking is illegal, including bars, restaurants, buildings open to the public, places of employment and areas within 15 feet of doors and vents. Even though cannabis consumption legal under California law, it is not legal federally, therefore you cannot consume or possess cannabis on federal lands such as national parks, even if the park is in California. You can consume cannabis on private property, but property owners and landlords may ban the use and possession of cannabis.