Really worried about my college acceptance

Hi guys,
I am a tranferring student from a california community college
So I got accepted to UCLA and UC Berkeley
But I went on a student government trip this past weekend and got caught smoking marijuana
I have a doctor’s rec letter so it wasn’t illegal, but my advisor claims I violated the code of conduct contract that I signed
If they put a disciplinary mark on my permanent record will these schoosl revoke my acceptance?
There’s a good chance they will not but still please let me know
I’m really worried here guys

Thanks

Believe it or not, pot is still illegal at the federal level, even with a doctors note. Since you were on a school function, your actions showed pretty bad judgement. They may yank your acceptance. Contact the school directly - tell them what happened, that you understand the error of your ways and are sorry.

I hope you learned your lesson and this doesn’t bite you too hard.