FIX: make can_invite_to_forum robust against plugin interference (PR #9644)

A plugin was using add_to_serializer, which made the include_...? method overridden to ‘true’. Copy the logic to the attribute method as well.

GitHub