Rebuild node access permissions How can I rebuild the node access permissions?

drupal node:access:rebuild returns the following error message.


  [Symfony\Component\Console\Exception\CommandNotFoundException] There are no commands defined in the "node:access" namespace.


I am using Drupal Console 0.11.3 and Drupal 8.2.0-rc2.
With Drush:

drush php-eval 'node_access_rebuild();'

With Drupal Console:

drupal node:access:rebuild

Which is of course similar to Chamil's answer, but accessible and copy pastable :)