I have a D7 installation with about 2k "project" nodes, which have a multi-entry field "team members" used to control view and edit access.
So far, I have my (pretty complex) logic inside node_access, and it works fine. But views (e.g. a "new projects" feed) don't respect node_access. The mymod_node_access hook is called (I see it with dpm()), but the nodes still appear in the view result.
Obviously I could simply hide the elements using a view field template, but that breaks the paging system (e.g. user selects "10 projects per page", but sees only four).
How can I make the Views module respect node_access as a filter?