Problem/Motivation
When user saves node then Drupal should check if user has access to it and then decide if the new node title in the message should be link or not.
Message with link
User doesn't have access to it
Steps to reproduce
- Drupal 11.x installation.
- Create content of type
test
. - Make content type
test
unpublished by default. - Create a role
test_creator
and give it access to create content of typetest
. - Create a user
qa
with the roletest_creator
. - Log in as user
qa
. - Create a node of type
test
. - After saving, you will see a message about the successful creation of a new node with a link to the new node, but when you go to it you will receive a 403 error.
Proposed resolution
Add a node access check.