'Return a query for this model already filtered to models shared
with a particular user.'

def _query_shared_with(self, user, eagerloads=True, **kwargs):

    query = self.session().query(self.model_class).join('users_shared_with')
    if (eagerloads is False):
        query = query.enable_eagerloads(False)
    query = query.filter((self.user_share_model.user == user))
    return self._filter_and_order_query(query, **kwargs)
