Problem/Motivation
Steps to reproduce:
- Create a new node node
- Edit the node, check the [new revision] checkbox
- Expected result: The revisions tab is shown, actual result: The revision tab is hidden
Problem is: \Drupal\node\Access\NodeRevisionAccessCheck::checkAccess
does not take into account cacheability metadata