Repository navigation
feat(connections): revoke grant + public_repo + audit log + docs/privacy (PR-E) - #22
Merged
Merged
Conversation
…, user guide + privacy note (PR-E)
|
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit 4ed13c7:
|
implemented.stream (thanabartbb)
changed the base branch from
feat/connections-d
to
main
October 15, 2026 13:28
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR-E, the last one in the stack. Stacked on #21 (PR-D).
What
DELETE /api/connections/githubcallsDELETE /applications/{client_id}/grant(Basic auth with the OAuth app id/secret, token in body), then deletes the stored token. Deleting the account cascades to every 0010 table./api/auth/github?scope=publicrequestsread:user user:email public_repo. The callback now stores the scope GitHub actually granted (exchangeCodeWithScope).GET /api/connections/audit(event types only) + list on/settings/connections.docs/user-guide/customer-deploy.md(TH + EN): Cloudflare token template (Workers Scripts: Edit + Account Settings: Read), limits, deploy paths, self-heal, privacy note.docs/design/ui-ux-revamp-plan.md§16 (reference only, no copied code).tests/connections-revoke.test.ts.Owner must do (whole stack A to E)
openssl rand -base64 32→npx wrangler secret put CREDENTIALS_KEY, and keep an offline backup.0010_customer_connections.sqlwithnpm run db:migrate:remote.repoas the default (private repos) or makepublic_repothe default. Both buttons exist; the default isrepo. A GitHub App with per-repo installs is the long-term option.GITHUB_CLIENT_SECRET.Not merged, not deployed, no remote migration, no secrets set.