public function onInsert(NodeEvent $event)
    {
        $node = $event->getNode();

        $this->ensureNodeSubscribers($event);

        // Enfore node event to run, so that the automatic resource listener
        // will raise the correct notifications
        $newEvent = new ResourceEvent('node', $node->nid, $this->currentUser->id());
        $this->dispatcher->dispatch('node:add', $newEvent);
    }