Whether they can or not should be immaterial to you. This isn't the how to break the law and get away with it forum (try over at hightimes for that). You are not supposed to be doing drugs (even pot at this point) while you are on probation.
If you can't stay off drugs for the duration of your probation, you have the clinical definition of a substance abuse problem. You need help.

