The UK GDPR sets out a number of lawful bases for processing personal data, including consent and the performance of a task carried out in the public interest or in the exercise of official authority. It is for local authorities to determine and justify which lawful basis is appropriate in each case, taking account of the nature and purpose of the processin...