Forum software I once used allowed blocking of chosen forums to non logged in visitors, that covers the legal aspect because a private forum can allow anything which does not break the law.
I have read some mudslinging in the brexit thread, some bullying by a respected forum member with me on...