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

kenorb’s picture

It could be related to cache mechanism introduced in recent version. Can you confirm if clear cache solve that issue temporary?

that0n3guy’s picture

Clearing the cache doesn't have any effect. I have to rebuild permissions for it to work.

that0n3guy’s picture

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.

kenorb’s picture

Status: Active » Needs work

Committed workaround from there: #909282: Simple way to ignore a node reference?

digitalfrontiersmedia’s picture

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.

kenorb’s picture

Issue summary: View changes
Status: Needs work » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.