Here's the guidance
https://www.gov.uk/guidance/meeting-people-from-outside-your-household-from-4-july
You should:
only socialise indoors with members of up to 2 households ‒ this includes when dining out or going to the pub
socialise outdoors in a group of up to 6 people from different households or up to 2 households (anyone in your support bubble counts as one household)
Gatherings in COVID-19 secure venues
When meeting friends and family, even in venues like restaurants, pubs, places of worship or community centres, you should follow the guidance on gatherings and:
only meet indoors in groups up to 2 households (anyone in your support bubble counts as one household) – this includes when dining out or going to the pub
only meet outdoors in a group of no more than 2 households or in a group of up to 6 people from different households