Since 2018, UK cannabis law has allowed certain medical uses under the Misuse...
https://travisssmartblogs.inkharbory.com/posts/why-do-some-articles-say-medical-cannabis-is-legalised-in-the-uk
Since 2018, UK cannabis law has allowed certain medical uses under the Misuse of Drugs Regulations 2001, not the 1971 Act. Specialist doctors can prescribe cannabis-based medicines like Sativex and Epidyolex, which remain Class B drugs otherwise