Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(source-control): each repository is read with the GitHub account that can see it #20337

Closedrookmate(GitHub profile, opens in a new tab)wants to merge 4 commits intomain fromrefs/pull/20337/headopened View on GitHub

Showing 58 changed files with 3 additions and 1 deletion (loading 56).

x
0 of 58 viewed, 58 left
2 additions and 1 deletionapps/mobile/src/features/pull-requests/pullRequestList.tsModified
View file
@@ -215,7 +215,8 @@
if (controls.projectEnvironmentId && entry.environmentId !== controls.projectEnvironmentId)
return false;
const viewerKey = entry.environmentId ? `${entry.environmentId} ${entry.host}` : entry.host;
- const viewer = viewers[viewerKey];
+ // The row's own viewer first: one host can be read as a different account per owner.
+ const viewer = entry.viewer ?? viewers[viewerKey];
if (controls.involvement === "reviewing" && !entry.viewerReviewRequested) return false;
if (
controls.involvement === "authored" &&
1 addition and 0 deletionsapps/mobile/src/features/settings/components/settings-sheet-targets.tsModified
View file
@@ -9,6 +9,7 @@
| "SettingsProjectOverview"
| "SettingsEnvironmentNewThreads"
| "SettingsEnvironmentSourceControl"
+ | "SettingsGitHubAccounts"
| "SettingsEnvironmentAgentBehavior"
| "SettingsEnvironmentMaintenance"
| "SettingsProviderAccounts"
apps/mobile/src/features/settings/SettingsGitHubAccountsRouteScreen.tsxAdded
View file
Loading the diff
apps/mobile/src/features/settings/SettingsServerControlsRouteScreen.tsxModified
View file
Loading the diff