Legalization this is not. It's decriminalization under state law, but that doesn't mean that federal criminal laws go away. The Supreme Court is content to have both laws exist in force, IE, it didn't suggest in Gonzalez vs. Raich that medical marijuana laws are illegal exercises by the state, merely that they don't remove existing federal laws.