Posted by that0n3guy on September 13, 2010 at 11:53pm
3 followers
Jump to:
| Project: | Node Access Auto Reference |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs work |
Issue Summary
I have have a structure like node3->node2->node1->user1
if node2 is edited and now points to node4->user2, then user1 still has access to node3 even though it shouldn't until I rebuild permissions.
Comments
#1
It could be related to cache mechanism introduced in recent version. Can you confirm if clear cache solve that issue temporary?
#2
Clearing the cache doesn't have any effect. I have to rebuild permissions for it to work.
#3
Oh wait... I take that back. Flushing the cache does do something. After flushing the cache, devel's node access blog shows "? alien nodeaccess_autoreference_owner" and its red and tells me there are errors in the {node_access} table.
I checked my database and nodeaccess_autoref.._owner is still set for that node so it's not being deleted.
#4
Committed workaround from there: #909282: Simple way to ignore a node reference?
#5
Can someone verify that the workaround indeed works. I tried patching but it still requires rebuilding permissions. I might be missing something here, so I just want someone to confirm this before I start pulling out too much hair.