The Covert Human Intelligence Sources (Criminal Conduct) Act 2021 was rushed through parliament with a limited amount of opposition,, given it's terrible implications.
In it's own words: "authorise conduct by officials and agents of the security and intelligence services, law enforcement, and certain other public authorities, which would otherwise constitute criminality."
The kind of criminality it would authorise could include rape, murder and torture. No wonder this CHIS bill was been dubbed The Spycops Bill.
This Act is designed to put onto a legal footing exactly the kind of abuses that led to the Undercover Policing Inquiry. It became law before the Inquiry had even started, let alone waited for any of it's recommendations.