This street view shows shops on the ground floor and a communal entrance in blue leading to what is likely to be a stairwell with a set of letter boxes in green.
It is ok for a property to have restricted access provided it is not a single family private residential property. And this appears to be a multi family space so it’s ok.