go to this site for local policy guidelines:

Local Prop 215 Guidelines

It looks like San Diego allows up to 1 lb. per patient, 24 plants in 64 sq. ft. indoors.

And for growing, all you need is your doctor's recommendation.