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 :).
| Comment | File | Size | Author |
|---|---|---|---|
| nodeaccess_grantuserlist.patch | 1.63 KB | szegadlo |
Comments
Comment #1
astoltz commentedThis 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.
Comment #2
szegadlo commentedMy bad.
I haven't noticed the records that are being copied to node_access.