'Create a share for the given user.'

def _create_user_share_assoc(self, item, user, flush=True):

    user_share_assoc = self.user_share_model()
    self.session().add(user_share_assoc)
    self.associate(user_share_assoc, item)
    user_share_assoc.user = user
    if (not item.slug):
        self.create_unique_slug(item)
    if flush:
        self.session().flush()
    return user_share_assoc
