Skip to content

Commit 402c9e0

Browse files
thamrxGerwin Bisschopclaude
authored
docs: mention Bitbucket user read scope needed by auth probe (pingdotgg#6291)
Co-authored-by: Gerwin Bisschop <[email protected]> Co-authored-by: Claude Fable 5 <[email protected]>
1 parent 474cc5f commit 402c9e0

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

‎apps/server/src/sourceControl/BitbucketSourceControlProvider.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ export const makeDiscovery = Effect.gen(function* () {
195195
kind: "bitbucket",
196196
label: "Bitbucket",
197197
installHint:
198-
"Set T3CODE_BITBUCKET_EMAIL and T3CODE_BITBUCKET_API_TOKEN on the server (use a Bitbucket API token with pull request and repository scopes).",
198+
"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).",
199199
probeAuth: bitbucket.probeAuth,
200200
} satisfies SourceControlApiDiscoverySpec;
201201
});

‎docs/user/source-control.md‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,8 @@ export T3CODE_BITBUCKET_ACCESS_TOKEN="your-access-token"
103103
```
104104

105105
Or an Atlassian account email plus API token, with read/write access to pull requests and
106-
repositories:
106+
repositories, plus read access to your user account (`read:user:bitbucket`, used to verify the
107+
connection):
107108

108109
```bash
109110
export T3CODE_BITBUCKET_EMAIL="[email protected]"

0 commit comments

Comments
 (0)