Because EntityPermissionsRouteProviderWithCheck is being deprecated and it is linked to a performance slowdown, replace it via the change record, https://www.drupal.org/node/3384745 β
Active
1.0
Code