Ok investigating a further bit, I see what this is doing, corresponding to lines 1415-1427
in insert-pages.php
.
Would it be possible to add an entry to $query
that asks for user capability edit_other_posts
and if not given, restricts to showing only own posts?