UK cannabis laws were adjusted in 2018 through the Misuse of Drugs Regulations...

https://www.tntmagazine.com/leisure-entertainment/leisure/why-is-cannabis-still-illegal-in-the-uk-the-history-behind-medical-cannabis-law/

UK cannabis laws were adjusted in 2018 through the Misuse of Drugs Regulations 2001, not the Misuse of Drugs Act 1971. This change made some cannabis-based medicines, like Sativex and Epidyolex, available on prescription but only from specialist doctors