def _view_filter(self):
if self._is_phantom_root_federated():<EOL><INDENT>return {}<EOL><DEDENT>idstr_list = self._get_catalog_idstrs()<EOL>return {'<STR_LIT>' + self._catalog_name + '<STR_LIT>': {'<STR_LIT>': idstr_list}}<EOL>
Returns the mongodb catalog filter for isolated or federated views.

This also searches across all underlying catalogs in federated
catalog views. Real authz for controlling access to underlying
catalogs will need to be managed in an adapter above the
pay grade of this implementation.