From 402c9e0748ced0125c1b40793f7d170efb9b6b2a Mon Sep 17 00:00:00 2001 From: Gerwin <9853101+thamrx@users.noreply.github.com> Date: Sat, 15 Aug 2026 14:04:02 +0200 Subject: [PATCH] docs: mention Bitbucket user read scope needed by auth probe (#6291) Co-authored-by: Gerwin Bisschop Co-authored-by: Claude Fable 5 --- .../server/src/sourceControl/BitbucketSourceControlProvider.ts | 2 +- docs/user/source-control.md | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/apps/server/src/sourceControl/BitbucketSourceControlProvider.ts b/apps/server/src/sourceControl/BitbucketSourceControlProvider.ts index 974fbb94a393a45cf83a3af82d1b7c3af3c2b06b..59fab76e52773d9b8364ee03aed4dce7f4547398 100644 --- a/apps/server/src/sourceControl/BitbucketSourceControlProvider.ts +++ b/apps/server/src/sourceControl/BitbucketSourceControlProvider.ts @@ -195,7 +195,7 @@ export const makeDiscovery = Effect.gen(function* () { kind: "bitbucket", label: "Bitbucket", installHint: - "Set T3CODE_BITBUCKET_EMAIL and T3CODE_BITBUCKET_API_TOKEN on the server (use a Bitbucket API token with pull request and repository scopes).", + "Set T3CODE_BITBUCKET_EMAIL and T3CODE_BITBUCKET_API_TOKEN on the server (use a Bitbucket API token with pull request, repository, and user read scopes).", probeAuth: bitbucket.probeAuth, } satisfies SourceControlApiDiscoverySpec; }); diff --git a/docs/user/source-control.md b/docs/user/source-control.md index 88a10f8daf88fa5ad7aca027bc9f35bbac244d1a..c64a63f7bc495268e26a51026a2a407d504a11d3 100644 --- a/docs/user/source-control.md +++ b/docs/user/source-control.md @@ -103,7 +103,8 @@ export T3CODE_BITBUCKET_ACCESS_TOKEN="your-access-token" ``` Or an Atlassian account email plus API token, with read/write access to pull requests and -repositories: +repositories, plus read access to your user account (`read:user:bitbucket`, used to verify the +connection): ```bash export T3CODE_BITBUCKET_EMAIL="you@example.com" -- 2.54.0