How can I programmatically get a list nodes that a user can update? I'd like to build a list of nodes which the current user is able to update. This is to be used in a site using Organic Groups.

My first hope was that there would be a Views filter that can check that the content is editable. Alas, no.

My second attempt was to use EFQ:

$query = new EntityFieldQuery();
$query-&gt;entityCondition('entity_type', 'node')
    -&gt;entityCondition('bundle', 'suggested_listing')
    -&gt;addMetaData('account', $account)
    -&gt;addMetaData('op', 'update')
    -&gt;addTag('node_access')
    -&gt;pager(20);


would work, but it seems as though OG isn't setting the update column in node_access?
There should be a view filter like that, but you'll need to use a relationship (Access log: User should do it) then add the filter called User: Permission.