Consent for a raid cannot be provided by your landlord, the police have to seek consent from someone entitled to allow entry.
If, for example, you live in a house with multiple occupancy or student accommodation, and the police have come after an arrest or come to arrest, consent is not required. However, they can only search places where they may reasonably find evidence. An example being the person’s bedroom or communal spaces.