A woman let go from her position due to her use of medical marijuana may sue her former employer for discrimination, the Massachusetts Supreme Judicial Court ruled in a landmark decision released Monday.

Cristina Barbuto accepted a position with Advantage Sales and Marketing in 2014. After one day of promoting products in a supermarket, Barbuto was fired. A human resources representative informed her that she did not pass the drug test and that the company follows federal, not state law.

Barbuto suffers from Crohn's disease, a gastrointestinal condition that can cause weight loss. As a result of her condition, Barbuto has "little or no appetite," and struggles to maintain her weight, something made easier with marijuana use, according to court documents.

After medical use of marijuana became legal in Massachusetts, her physician provided her with written certification of her condition, which qualified her as a medical marijuana patient.

She did not use marijuana daily nor would she consume it before or during work, according to court documents.

After she was fired, Barbuto filed a complaint she filed in Suffolk County Superior Court accusing the company of discrimination.

The Massachusetts Medical Marijuana Act passed in 2012 states that "qualifying patients" should not be punished under state law for medical use of marijuana.

Following her complaint, Advantage Sales and Marketing claimed that Barbuto did not make her handicapped status clear and - if it had been clear - she would have been terminated as all employees are required to pass a drug test.

"One generally would expect an employer not to interfere with the employee taking such medication, or to terminate her because she took it," the Massachusetts Supreme Judicial Court wrote in a ruling released Monday. "By the defendants' logic, a company that barred the use of insulin by its employees in accordance with a company policy would not be discriminating against diabetics because of their handicap, but would simply be implementing a company policy prohibiting the use of a medication."

Citing the Massachusetts Medical Marijuana Act, the court states that patients shall not be denied "any right or privilege" due to marijuana use.

In years since this complaint was filed, Massachusetts residents voted to approve the recreational use of marijuana, joining four other states where it was previously legalized.

While both medical and recreational use is now allowed, workers still cannot use marijuana before or during work. Workers can still be drug tested and fired for failing a drug test if it is not part of an approved treatment plan for a medical condition.