Issue #2495833 by alexpott, tim.plunkett, dawehner: Drupal\node\NodePermissions::contentPermissions() is duplicate and dead code