The UK's legislative framework on the control of drugs is largely contained within the Misuse of Drugs Act 1971, which is more than half a century old. It is supported by the Psychoactive Substances Act 2016.
https://publications.parliament.uk/pa/cm5803/cmselect/cmhaff/198/report.html