[FR] Allow admins/owners to assume a user's role for support and provide owner view toggle (converted to project)
Mantenedores costumam responder em até 1 dia
@brendan-kellam já está trabalhando nisso.
Desde 5/2/2026.
Avaliação
Esta issue ainda não foi avaliada.
Descrição
This issue has been converted to a project User impersonation
Feature Description
As an owner or admin, it would greatly improve operational support and troubleshooting if it was possible to assume the role of a regular user. This would allow staff to inspect the UI and permissions exactly as the user experiences them, making it easier to resolve issues or answer questions that arise.
Additionally, it would be very helpful if the primary owner of an instance could toggle between viewing only the repos they personally have access to and viewing all repos in the instance (full access). This would assist with management and support operations without compromising security.
Motivation and Context:
│ sourcebot [web] | 2026-01-29T00:46:24.931Z info: [health-check] health check
│ sourcebot [backend] | 2026-01-29T00:46:25.229Z info: [user-permission-syncer:job:cmkyqhblz01yjn851oe7v40el] Syncing permissions for github account (id: cmkuuxooa000tn859gri6iddi) for user [email protected]...
│ sourcebot [backend] | HEAD / - 401 with id BE48:913E4:1BEBA7:255F28:697AADE1 in 193ms │ sourcebot [backend] | 2026-01-29T00:46:25.423Z error: [github] Failed to fetch OAuth scopes for authenticated user. Unauthorized
│ sourcebot [backend] | HttpError: Unauthorized
│ sourcebot [backend] | at fetchWrapper (file:///app/node_modules/@octokit/core/node_modules/@octokit/request/dist-bundle/index.js:108:11)
│ sourcebot [backend] | at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
│ sourcebot [backend] | at async getOAuthScopesForAuthenticatedUser (file:///app/packages/backend/dist/github.js:155:26)
│ sourcebot [backend] | at async file:///app/packages/backend/dist/ee/accountPermissionSyncer.js:147:32
│ sourcebot [backend] | at async AccountPermissionSyncer.runJob (file:///app/packages/backend/dist/ee/accountPermissionSyncer.js:133:25)
│ sourcebot [backend] | at async /app/node_modules/bullmq/dist/cjs/classes/worker.js:517:32
│ sourcebot [backend] | at async Worker.retryIfFailed (/app/node_modules/bullmq/dist/cjs/classes/worker.js:742:24)
│ sourcebot [backend] | 2026-01-29T00:46:25.443Z error: [user-permission-syncer:job:cmkyqhblz01yjn851oe7v40el] Account permission sync job failed for account (id: cmkuuxooa000tn859gri6iddi) for user [email protected]: Unauthorized
was observed in the logs of the deployment. Having this capability would allow me to understand from the users perspective what is going on.
Expected Outcomes:
- Admins/owners can "assume" a role/view of a specific end user
- Ability for primary owner to toggle between a personal-access view and organization-wide view
- Improved ability for support staff to troubleshoot user reports about access, permissions, and repo visibility
- Clearer understanding of permission errors and the impact of organization OAuth authentication flows
User Story
- As an admin, I want to temporarily assume the view/permissions of
[email protected]to help troubleshoot their reported access issue - As an owner, I want to quickly switch between "my repos" and "all repos" to distinguish my own access from overall instance capabilities
- Linguagem predominante
- TypeScript
- Estrelas
- 3.9k
- Forks
- 374
- Merge médio
- 2d 21h
- PRs com merge (30d)
- 43
Preparar o ambiente
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de sourcebot-dev/sourcebot
-
[bug] Search result hydration performs duplicate repository lookups within the same chunkTalvez já em andamento @dipeshbabu assumiu há 17 dias. Abertabug triage needed
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 84/100
sourcebot-dev/sourcebot#1681 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
Linux ctags build instructions in CONTRIBUTING.md are missing build dependenciesTalvez livre de novo Um pull request para esta issue foi fechado sem ser mesclado. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 84/100
sourcebot-dev/sourcebot#1633 ·
Mantenedores costumam responder em até 1 dia
-
MCP ask_codebase rejects explicit languageModel: getLanguageModelKey includes displayName which the MCP schema doesn't exposeTalvez livre de novo @Harsh23Kashyap assumiu há 101 dias e não há nenhum pull request aberto. Abertaask_sb bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
sourcebot-dev/sourcebot#1137 · 4 comentários ·
Mantenedores costumam responder em até 1 dia
-
[FR] Support file-based and Azure Key Vault token sources alongside env and googleCloudSecretTalvez livre de novo Um pull request para esta issue foi fechado sem ser mesclado. Aberta
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 64/100
sourcebot-dev/sourcebot#1704 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
[bug] Local repositories with a space or non-ASCII character in the path cannot be indexedTalvez livre de novo Um pull request para esta issue foi fechado sem ser mesclado. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 35/100
sourcebot-dev/sourcebot#1689 ·
Mantenedores costumam responder em até 1 dia
Todas as issues de sourcebot-dev/sourcebot
Issues semelhantes
-
area/frontend area/v2 kind/bug priority/needs-triage
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 70/100
kubeflow/notebooks#1498 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 75/100
Mantenedores costumam responder em até 1 dia
-
P1
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 66/100
SuruchBoss/Cwork#90 ·
-
bug cli service
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
Mantenedores costumam responder em até 1 dia
-
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 85/100
521xueweihan/HelloGitHub#3922 ·