'Add ``repository`` to this team.
:param str repository: (required), form: \'user/repo\'
:param str permission: (optional), (\'pull\', \'push\', \'admin\')
:returns: bool'

@requires_auth
def add_repository(self, repository, permission=u''):

    data = {u'permission': permission}
    url = self._build_url(u'repos', repository, base_url=self._api)
    return self._boolean(self._put(url, data=dumps(data)), 204, 404)
