Is there a way to allow only a node author as well as an author referenced by a node reference field to view the node and comments.
Example:
A listing content type. (for posting want ads) An Offer content type. (for making an offer for referenced listing ad)
Listing has: Title, pics, description, location, etc... as fields' Offer has: Title, Listing Node Reference, Message, Offered price, etc... as fields
I want to hide the offer nodes (in any view mode) from everyone but admins, the offer node author and the listing node author.
Basically, creating a simple private messaging system. with nodes as messages and comments as replies to the message that only those two accounts can see as well as admins.
Any suggestions on the best way to implement this? Thank you.