Skip to content
This repository has been archived by the owner on Jan 24, 2019. It is now read-only.

Fix GitHub teams for large orgs #613

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

skwashd
Copy link

@skwashd skwashd commented Jun 3, 2018

Some large organisations have more than 100 teams. The current
implementation only checks the first 100 teams returned by the
API. This checks all teams the user is a member of.

Added support for GitHub's new nested team feature which means
inheritence works as designed. Again useful for large orgs.

Updated the limit from 200 to the documented limit of
100
.

Some large organisations have more than 100 teams. The current
implementation only checks the first 100 teams returned by the
API. This checks all teams the user is a member of.

Added support for GitHub's new nested team feature which means
inheritence works as designed. Again useful for large orgs.

Updated the limit from 200 to the [documented limit of
100](https://developer.github.com/v3/#pagination).
@skwashd
Copy link
Author

skwashd commented Jun 3, 2018

Travis failing due to an error with dep. https://travis-ci.org/bitly/oauth2_proxy/jobs/387385489#L598 The last 3 master builds have failed due to issues with fsnotify.v1. It looks like #610 fixes this problem.

@alexlupascu
Copy link

I've tested the code from this PR on large Github org, all works good.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants