How to check user has permission special node
Just tested this and $node-&gt;access('update'); works for me. I let the optional $account parameter out so that it would check the currently logged in user.

The only difference was that I loaded my node with:

\Drupal\node\Entity\Node::load($nid);


To just use Node::load($nid); Make sure to include:

use Drupal\node\Entity\Node;


at the top of your file.