docs: def editpermissions_anonymous_user_view(self, request, forum_id=None):
          """ Allows to edit anonymous user permissions for the considered forum.
  
          The view displays a form to define which permissions are granted for the anonymous user for
          the considered forum.
  
          """
          forum = get_object_or_404(Forum, pk=forum_id) if forum_id else None
  
          # Set up the context
          context = self.get_forum_perms_base_context(request, forum)
          context['forum'] = forum
          context['title'] = '{} - {}'.format(_('Forum permissions'), _('Anonymous user'))
          context['form'] = self._get_permissions_form(
              request, UserForumPermission, {'forum': forum, 'anonymous_user': True},
          )
  
          return render(request, self.editpermissions_anonymous_user_view_template_name, context)