I’ve a very weird problem with node/add access
path on a D9.3.x site.
If I give to a custom role the permission Article: Create new content
the user can access that page.
However, if I give the same permission for a custom bundle – e.g. Author: Create new content
– the user can’t access that page, but yet can access to /node/add/author
What should I try to address the problem? I’ve tried to debug NodeAccessControlHandler::createAccess
but the
$result = parent::createAccess($entity_bundle, $account, $context, TRUE)->cachePerPermissions(); return $return_as_object ? $result : $result->isAllowed();
seems okay at that point.