Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix GitHub teams for large orgs #7

Merged
merged 2 commits into from
Nov 28, 2018
Merged

Fix GitHub teams for large orgs #7

merged 2 commits into from
Nov 28, 2018

Conversation

ploxiln
Copy link
Owner

@ploxiln ploxiln commented Nov 25, 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.

rebase of bitly#613

@ploxiln ploxiln force-pushed the bitly_pull_613 branch 3 times, most recently from 6fe0d81 to 40afe07 Compare November 27, 2018 00:33
skwashd and others added 2 commits November 26, 2018 23:38
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
@ploxiln ploxiln merged commit 4a21b7f into master Nov 28, 2018
@ploxiln ploxiln deleted the bitly_pull_613 branch January 6, 2019 13:13
brianv0 pushed a commit to brianv0/oauth2_proxy_old that referenced this pull request Jan 17, 2019
Migration from Bitly to Pusher
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants