California voters legalized pot in 2016. But for many seeking jobs in state government, cannabis use has become an obstacle to getting hired.

Now, a spike in the number of job applicants disqualified by state agencies after failing tests for marijuana use has spawned calls for new legislation and debate over whether employment rules should be relaxed given more widespread acceptance of the drug.