Closed (duplicate)
Project:
Node Access Auto Reference
Version:
6.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Jun 2010 at 20:12 UTC
Updated:
18 Oct 2010 at 15:45 UTC
I am able to grant the expected permissions using cck user reference field, but when I combine that with a node reference field it doesn't seem to work.
The following doesn't work:
Node 1 -> node reference -> Node 2 -> user reference -> User
But when I do the follow it works just fine:
Node 1 -> user reference -> User
Am I wrong in thinking the first example should grant access? The only other permission-based module I have is the suggested view_own module.
Cheers
Comments
Comment #1
jarchowk commentedJust to follow up, the linking seems to be fine. I enabled the debugging and the following message appears even though the I get "access denied":
* Array ( [0] => nid:38|landlord|field_properties|nid:39 )
* Connected: YES; Path between user 67 and node 38 (landlord): Array ( [0] => nid:38|landlord|field_properties|nid:39 [1] => nid:39|property|field_tentant_ref|uid:67 [2] => nid:38|landlord|field_properties|nid:39 )
* Array ( [0] => nid:38|landlord|field_properties|nid:39 )
* Connected: YES; Path between user 67 and node 38 (landlord): Array ( [0] => nid:38|landlord|field_properties|nid:39 [1] => nid:39|property|field_tentant_ref|uid:67 [2] => nid:38|landlord|field_properties|nid:39 )
I set the grants priority to the highest... still nothing.
Comment #2
kenorb commented#1: Try latest dev. It's related to: #781140: Not granting 'view' permissions, detailed explaination
Comment #3
kenorb commentedComment #4
kenorb commented