node_save() generated nodes don't have permissions set properly in content_access table when permissions are updated.
nuvious - August 20, 2009 - 20:55
| Project: | Content Access |
| Version: | 6.x-1.2 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
I have recently granted a role to have view/edit/delete own/any permissions on a site response content type. However not all nodes were updated properly and I still have nodes which are displayed as such:
nid gid realm grant_view grant_update grant_delete
144 2 content_access_rid 1 0 0
New nodes now have grant_update and grant_delete set properly. All nodes of this type are submitted by unathenticated users via an form which uses node_save() to generate the nodes.

#1
hm, it looks like the update has failed for some nodes? You can try to minize the define CONTENT_ACCESS_MASS_UPDATE_THRESHOLD to a lower value to prevent the issue in future. How many affected nodes do you have? Are you on a shared host?
For now, I'd suggest you to just rebuild the node-access for the whole site.