California has detailed rules for the cannabis sector, like license needs and product testing. Businesses must follow these rules to operate legally.