Once uninstalled, when new content is created, non registered users are unable to access newly created nodes.

CommentFileSizeAuthor
#1 node_access_grants.patch3.02 KBAnonymous (not verified)

Comments

Anonymous’s picture

Status: Active » Needs review
StatusFileSize
new3.02 KB

Oh boy did the bug around this cause me issues.

Here is a patch that actually solves this and also another issue.

If you do not select the private checkbox and you don't pass the if($node->private) then no grant entry is added into the node_access table. When this happens, users that are not logged in will not be able to see that node. This was my pain.

greggles’s picture

Issue summary: View changes

Thanks for the bug report and patch!

Marking this as closed-outdated as the 5.x version is no longer supported and I don't think this issue affects the 6.x and later versions.

If the problem persists on newer versions, please reopen this issue.

greggles’s picture

Status: Needs review » Closed (outdated)