def METHOD_NAME(latest=True):
    """Return all indexed schemas current user has read access to."""
    schemas = (
        Schema.query.filter_by(is_indexed=True)
        .order_by(
            Schema.name,
            Schema.major.desc(),
            Schema.minor.desc(),
            Schema.patch.desc(),
        )
        .all()
    )
    schemas = _filter_by_read_access(schemas)
    if latest:
        schemas = _filter_only_latest(schemas)
    return schemas