I'll admit right off that this is a duplicate post b/c I don't know the appropriate que to post this issue in: http://drupal.org/node/1289166

I'll summarize in this version:

I have a node reference field that uses a view to serve results. How do I filter the results to show only nodes the user has created or has access to via groups they are a member of.

Thanks ahead of time - really stuck on this one....

Comments

karens’s picture

Status: Active » Fixed

Add a relationship to the node author to the view, then add a contextual filter that uses the node author relationship for the values you want to control. Set the filter up to use a default value and set default value to be the current user.

karens’s picture

And you won't be able to control anything based on 'the groups they are a member of'. The D7 version of Organic Groups is missing that ability. But that's an OG issue, see #1238186: Can't build views relationship from a group entity to its base entity.

CarbonPig’s picture

Thank you @KarenS - nice clear suggestions and good links - this is why I love the Drupal community - You Rock!

MGParisi’s picture

How did you create the view relationship to the current content type in the first place? Im having problems with that:(

Status: Fixed » Closed (fixed)

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