Board Thread:General Discussion/@comment-31924693-20140509094043/@comment-452-20140509143440

Perhaps: if( $action == 'read' || $user->isAllowed('walledit') || $wm->isWallOwner( $user ) ) {

edit: And since I'm looking at the source anyway, a convenient place to put a "Is this a user page and can this user edit it" check might be within the "checkQuickPermissions" function in Title.php