In Barcelona it’s legal to smoke and grow cannabis in the privacy of your own home or a registered cannabis club. As soon as it becomes a public activity then it becomes illegal. It’s not legal to smoke cannabis in the street. It’s also not legal to carry marijuana on your person in public.