The police actually wanted to legalize it but the government refused to. They even fired their advisor when he said that cannabis isn't really that bad and probably shouldn't be an illegal substance. The UK government is awful and corrupt as hell.
So it's still illegal but the police very rarely actually do anything about possession. They may take it off you but it's not going to result in any legal action.