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

jarchowk’s picture

Just 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.

kenorb’s picture

kenorb’s picture

Status: Active » Closed (duplicate)
kenorb’s picture

Title: Node references isn't working for me » access denied - node references isn't working - Not granting 'view' permissions