State laws authorizing use of marijuana for medical purposes have resulted in a series of employment lawsuits testing the boundaries of employees’ rights to use the drug off-duty.

So far the courts have upheld an employer’s right to fire employees who test positive for marijuana, even if the employee has a card authorizing him to use marijuana for a medical condition. But the issue raises liability concerns that are growing as more states pass medical marijuana laws.