Skip to content

Add enterprise team membership support - #299

Draft
buckelij wants to merge 1 commit into
mainfrom
buckelij-add-enterprise-teams
Draft

Add enterprise team membership support#299
buckelij wants to merge 1 commit into
mainfrom
buckelij-add-enterprise-teams

Conversation

@buckelij

Copy link
Copy Markdown
Member

GitHub enterprise teams use a separate REST API from organization teams, so the existing backend cannot manage their membership. This adds a dedicated github_enterprise_team backend for synchronizing members of existing Enterprise Cloud teams.

The backend reads paginated membership state using API version 2026-03-10, computes entitlement differences, and applies additions and removals through the bulk membership endpoints. It preserves the existing organization-team behavior and includes configuration documentation and unit coverage for controller, provider, pagination, API errors, and synchronization.

Enterprise team creation is intentionally out of scope because the referenced API manages membership only. Authentication requires a classic PAT with read:enterprise and admin:enterprise; GitHub App and fine-grained tokens are not supported by these endpoints.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 1ea2214e-34f7-4e83-b7fd-413b4a534cd6
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.

1 participant