Assemblyman Evan Low, D-Silicon Valley, said the bill would block employers from obtaining information about an employee who buys marijuana.

“The focus of this piece of legislation is around privacy,” Low said. “So, while now cannabis is legal in California, there are many individuals who want to make sure that cannabis and their use of cannabis is not made public for many reasons.”

Similar restrictions are already in place for medical marijuana customers.