Individual user grants list on the node grant screen is not being refreshed correctly from the data base. The symptom is that the individual user grants are displayed regardless what is in the {nodeaccess} table. I've noticed this when I was trying to do manual inserts to this table - no changes on the screen.
The bug is simple: in nodeaccess.module line 282 {node_access} is used instead of {nodeaccess}.
Yes, and I think the naming convention is not the best possible :).

CommentFileSizeAuthor
nodeaccess_grantuserlist.patch1.63 KBszegadlo

Comments

astoltz’s picture

This is by design. Node access displays what the node permissions *actually* are, not just what is handled by nodeaccess. For instance, if you were to manually add records into this table, your permissions wouldn't actually be honored.

When you update permissions through nodeaccess, it automatically refreshes Drupal's permissions so they match. This way of doing things is especially useful if you have other modules helping out with permissions.

szegadlo’s picture

Assigned: szegadlo » Unassigned
Status: Needs review » Closed (works as designed)

My bad.
I haven't noticed the records that are being copied to node_access.