I think that's exactly what it will let you do, that's the whole point.
Except as permitted under Proposition 215 and SB 420 laws, persons age 21 and older may:
use marijuana in:
a non-public place such as a residence or
a public establishment licensed for on site marijuana consumption.
http://en.wikipedia.org/wiki/California_Proposition_19_(2010...If you drink alcohol on the street other than at a licensed outdoor event, a police officer can make you throw it away or issue a citation resulting in a fine. This seems pretty effective overall.