There is an option to explicitly allow everyone to connect.
SocksPort /var/lib/tor-shared/tor.socket WorldWritable
If using `tor@default.service` in debian or its derivatives (like ubuntu), there is already a WorldWritable socket configured at `/run/tor/socks`