California lawmakers had no right to impose a cap on the amount of marijuana that medical users could possess under the state’s Proposition 215 medical-marijuana law, the California Supreme Court has ruled.

The Associated Press reported Jan. 21 that the court unanimously ruled that lawmakers erred in amending the law to limit medical-marijuana patients to eight ounces of the drug, saying that only voters could change amendments to the state constitution that have been added via the state’s ballot-initiative process.

The original Prop 215 set no limit on how much marijuana a medical user could possess.