Hi

I have a custom content type, called 'tours' which I only want to be visible to people with the role 'member', which is easy enough.

Then I want to create a view which lists some key details of the tours, like Title, Date, Short Description. Again this is fine, I have created the view. But now I would also like non members to be able to see the view, but still not have access to the 'tours' nodes.

At the moment, as soon as I make the tours content type visible only to members, they all dissaper out of the view for non members. I understand that this is by design, but is there a way to work around it?

For instance, I am using the title in the view with the 'link to node' option, so that is how the node is accessed. Could I set it up somehow so that it links to the node for members, but the link is not there for non members?

Or can i force the override of the permissions for the view but not for the nodes?

I may have explained that badly so please ask for more clarification if so.

Cheers

Phil

Comments

stevenc’s picture

Sure, write your own code that simulates the View.

I don't think there is any way to get Views to do what you want. But in a custom module you can cheerfully ignore node access permissions if you choose to.

---------------------------------
Steven Wright

Slalom