Skip to content

Open-source Grok Bot alternative for named AI teammates. Local-first desktop, web, and mobile clients with per-bot tools, instructions, and memory. Independent fork of T3 Code.

docs: mention Bitbucket user read scope needed by auth probe (#6291)

Gerwin402c9e0748ce
diff --git a/apps/server/src/sourceControl/BitbucketSourceControlProvider.ts b/apps/server/src/sourceControl/BitbucketSourceControlProvider.ts
index 974fbb94a..59fab76e5 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 88a10f8da..c64a63f7b 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="[email protected]"