0

If I give to a custom role the Article: Create new content permission, users can access the /node/add page. However, if I give the same permission for a custom bundle, for example Author: Create new content, users can't access that page, but yet can access /node/add/author.

What should I try to address the problem? I've tried to debug NodeAccessControlHandler::createAccess(), but this code doesn't show anything wrong.

$result = parent::createAccess($entity_bundle, $account, $context, TRUE)->cachePerPermissions();
return $return_as_object ? $result : $result->isAllowed();

1 Answer 1

0

After some test, I discovered it was due to some incompatibility between form mode manager and entity limit

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.