René's URL Explorer Experiment


Title: Feat/assume user by TheodoreSpeaks · Pull Request #3742 · simstudioai/sim · GitHub

Open Graph Title: Feat/assume user by TheodoreSpeaks · Pull Request #3742 · simstudioai/sim

X Title: Feat/assume user by TheodoreSpeaks · Pull Request #3742 · simstudioai/sim

Description: Summary We need more visibility in how our users use mothership. Added an impersonate user flow to allow sim admins to view users' workspaces. See: https://better-auth.com/docs/plugins/admin#impersonate-user Type of Change Bug fix New feature Breaking change Documentation Other: ___________ Testing Tested only admin can assume role Tested impersonated user can view resources, tasks, and workflows Tested banner warns admins that they are impersonating a user. Checklist Code follows project style guidelines Self-reviewed my changes Tests added/updated and passing No new warnings introduced I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA) Screenshots/Videos

Open Graph Description: Summary We need more visibility in how our users use mothership. Added an impersonate user flow to allow sim admins to view users' workspaces. See: https://better-auth.com/docs/plugins/admin#im...

X Description: Summary We need more visibility in how our users use mothership. Added an impersonate user flow to allow sim admins to view users' workspaces. See: https://better-auth.com/docs/plugins/admi...

Opengraph URL: https://github.com/simstudioai/sim/pull/3742

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:4cc3834f-da1b-d31a-9235-b58705c715a0
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB18E:9D91A:8CE444:C76001:6AFB72D3
html-safe-nonce1397c00fc9e617e71339b6633069faaf30470d042be96a2624ce0773b5d91434
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMThFOjlEOTFBOjhDRTQ0NDpDNzYwMDE6NkFGQjcyRDMiLCJ2aXNpdG9yX2lkIjoiMjIwNDUzMzg1OTMwMTQyMTc3OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac202951f1f02dd9377b5774dbb7cc1e29d85a275eb98fb9a5dd7252ea409d1700
hovercard-subject-tagpull_request:3440894939
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/simstudioai/sim/pull/3742/files
twitter:imagehttps://avatars.githubusercontent.com/u/19564703?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/19564703?s=400&v=4
og:image:altSummary We need more visibility in how our users use mothership. Added an impersonate user flow to allow sim admins to view users' workspaces. See: https://better-auth.com/docs/plugins/admin#im...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None0e29e7974fdda2feeaf5c891efd4b23b0734b23480232b62c7bdef13f40b5b48
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/simstudioai/sim git https://github.com/simstudioai/sim.git
octolytics-dimension-user_id199344406
octolytics-dimension-user_loginsimstudioai
octolytics-dimension-repository_id912559512
octolytics-dimension-repository_nwosimstudioai/sim
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id912559512
octolytics-dimension-repository_network_root_nwosimstudioai/sim
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release2e8872b770cc4d5d0cc1f2026afab747a268e2ce
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/simstudioai/sim/pull/3742/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F3742%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F3742%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=simstudioai%2Fsim
Reloadhttps://github.com/simstudioai/sim/pull/3742/files
Reloadhttps://github.com/simstudioai/sim/pull/3742/files
Reloadhttps://github.com/simstudioai/sim/pull/3742/files
simstudioaihttps://github.com/simstudioai
simhttps://github.com/simstudioai/sim
Codehttps://github.com/simstudioai/sim
Issues129 (129)https://github.com/simstudioai/sim/issues
Pull requests199 (199)https://github.com/simstudioai/sim/pulls
Actionshttps://github.com/simstudioai/sim/actions
Projectshttps://github.com/simstudioai/sim/projects
Security and qualityhttps://github.com/simstudioai/sim/security
Insightshttps://github.com/simstudioai/sim/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose
TheodoreSpeakshttps://github.com/TheodoreSpeaks
staginghttps://github.com/simstudioai/sim/tree/staging
feat/assume-userhttps://github.com/simstudioai/sim/tree/feat/assume-user
Conversation 8 https://github.com/simstudioai/sim/pull/3742
Commits 6 https://github.com/simstudioai/sim/pull/3742/commits
Checks 11 https://github.com/simstudioai/sim/pull/3742/checks
Files changed https://github.com/simstudioai/sim/pull/3742/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/3742/files
Feat/assume user https://github.com/simstudioai/sim/pull/3742/files#top
Show all changes 6 commits https://github.com/simstudioai/sim/pull/3742/files
d209682 Allow admin users to assume user sessions Mar 24, 2026 https://github.com/simstudioai/sim/pull/3742/commits/d2096827923700eb96f44890cde22fedbaad8938
d53a41f Add explicit role check Mar 24, 2026 https://github.com/simstudioai/sim/pull/3742/commits/d53a41facf27658dca6d8c07b1ec6210b6ca442e
1776ee8 Fix lint Mar 24, 2026 https://github.com/simstudioai/sim/pull/3742/commits/1776ee836db507b766098a969f2bfa794f591518
831f336 Remove admin panel when impersonating Mar 24, 2026 https://github.com/simstudioai/sim/pull/3742/commits/831f3360ff3d2f169adeec15202e4523bd24914d
1619ec2 Merge branch 'staging' into feat/assume-user TheodoreSpeaks Mar 24, 2026 https://github.com/simstudioai/sim/pull/3742/commits/1619ec28515ccbc32ba00f0679adc1dac7b88975
6f97d5a Fix lint Mar 24, 2026 https://github.com/simstudioai/sim/pull/3742/commits/6f97d5a363e99d6123fca04293fa431da0af7e33
Clear filters https://github.com/simstudioai/sim/pull/3742/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/3742/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/3742/files
session-provider.tsx https://github.com/simstudioai/sim/pull/3742/files#diff-1d8a85d8920e3d24bebdd4998424a17cf786d249f99dd835bfea6f893dd311b5
impersonation-banner.tsx https://github.com/simstudioai/sim/pull/3742/files#diff-d4b39a6cb9cb1ac56287986848f6232d113ee7264833c6d2870a62cdee020dbe
layout.tsx https://github.com/simstudioai/sim/pull/3742/files#diff-d7bf327c784a35deea2bbffcd0d65c4c8c2099d4c9794d2ea64d6bec71c0fb64
admin.tsx https://github.com/simstudioai/sim/pull/3742/files#diff-1c56f0b01277108bb909a7c0efc606bf5fdf34c2931f4a8ff02c613140534023
banner.tsx https://github.com/simstudioai/sim/pull/3742/files#diff-a102686ccd6952f04baa05270c84055b5c0d6b3aa5d70f0bbfc7c1e37cc5f01d
index.ts https://github.com/simstudioai/sim/pull/3742/files#diff-752a5362437bf3a92be2e9d638363ebbc9c231f0d89bc55b8a2ce65c8bc2d2b6
admin-users.ts https://github.com/simstudioai/sim/pull/3742/files#diff-4a7e4c80fa55bb0a3233bbae8a1b9a4c792dcb74b218d7f1822807dec8b357db
apps/sim/app/_shell/providers/session-provider.tsxhttps://github.com/simstudioai/sim/pull/3742/files#diff-1d8a85d8920e3d24bebdd4998424a17cf786d249f99dd835bfea6f893dd311b5
View file https://github.com/simstudioai/sim/blob/6f97d5a363e99d6123fca04293fa431da0af7e33/apps/sim/app/_shell/providers/session-provider.tsx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/3742/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/3742/files#diff-1d8a85d8920e3d24bebdd4998424a17cf786d249f99dd835bfea6f893dd311b5
https://github.com/simstudioai/sim/pull/3742/files#diff-1d8a85d8920e3d24bebdd4998424a17cf786d249f99dd835bfea6f893dd311b5
apps/sim/app/workspace/[workspaceId]/impersonation-banner.tsxhttps://github.com/simstudioai/sim/pull/3742/files#diff-d4b39a6cb9cb1ac56287986848f6232d113ee7264833c6d2870a62cdee020dbe
View file https://github.com/simstudioai/sim/blob/6f97d5a363e99d6123fca04293fa431da0af7e33/apps/sim/app/workspace/%5BworkspaceId%5D/impersonation-banner.tsx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/3742/{{ revealButtonHref }}
Please reload this pagehttps://github.com/simstudioai/sim/pull/3742/files
apps/sim/app/workspace/[workspaceId]/layout.tsxhttps://github.com/simstudioai/sim/pull/3742/files#diff-d7bf327c784a35deea2bbffcd0d65c4c8c2099d4c9794d2ea64d6bec71c0fb64
View file https://github.com/simstudioai/sim/blob/6f97d5a363e99d6123fca04293fa431da0af7e33/apps/sim/app/workspace/%5BworkspaceId%5D/layout.tsx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/3742/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/3742/files#diff-d7bf327c784a35deea2bbffcd0d65c4c8c2099d4c9794d2ea64d6bec71c0fb64
https://github.com/simstudioai/sim/pull/3742/files#diff-d7bf327c784a35deea2bbffcd0d65c4c8c2099d4c9794d2ea64d6bec71c0fb64
apps/sim/app/workspace/[workspaceId]/settings/components/admin/admin.tsxhttps://github.com/simstudioai/sim/pull/3742/files#diff-1c56f0b01277108bb909a7c0efc606bf5fdf34c2931f4a8ff02c613140534023
View file https://github.com/simstudioai/sim/blob/6f97d5a363e99d6123fca04293fa431da0af7e33/apps/sim/app/workspace/%5BworkspaceId%5D/settings/components/admin/admin.tsx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/3742/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/3742/files#diff-1c56f0b01277108bb909a7c0efc606bf5fdf34c2931f4a8ff02c613140534023
https://github.com/simstudioai/sim/pull/3742/files#diff-1c56f0b01277108bb909a7c0efc606bf5fdf34c2931f4a8ff02c613140534023
https://github.com/simstudioai/sim/pull/3742/files#diff-1c56f0b01277108bb909a7c0efc606bf5fdf34c2931f4a8ff02c613140534023
https://github.com/simstudioai/sim/pull/3742/files#diff-1c56f0b01277108bb909a7c0efc606bf5fdf34c2931f4a8ff02c613140534023
https://github.com/simstudioai/sim/pull/3742/files#diff-1c56f0b01277108bb909a7c0efc606bf5fdf34c2931f4a8ff02c613140534023
https://github.com/simstudioai/sim/pull/3742/files#diff-1c56f0b01277108bb909a7c0efc606bf5fdf34c2931f4a8ff02c613140534023
https://github.com/simstudioai/sim/pull/3742/files#diff-1c56f0b01277108bb909a7c0efc606bf5fdf34c2931f4a8ff02c613140534023
https://github.com/simstudioai/sim/pull/3742/files#diff-1c56f0b01277108bb909a7c0efc606bf5fdf34c2931f4a8ff02c613140534023
Please reload this pagehttps://github.com/simstudioai/sim/pull/3742/files
https://github.com/simstudioai/sim/pull/3742/files#diff-1c56f0b01277108bb909a7c0efc606bf5fdf34c2931f4a8ff02c613140534023
https://github.com/simstudioai/sim/pull/3742/files#diff-1c56f0b01277108bb909a7c0efc606bf5fdf34c2931f4a8ff02c613140534023
https://github.com/simstudioai/sim/pull/3742/files#diff-1c56f0b01277108bb909a7c0efc606bf5fdf34c2931f4a8ff02c613140534023
https://github.com/simstudioai/sim/pull/3742/files#diff-1c56f0b01277108bb909a7c0efc606bf5fdf34c2931f4a8ff02c613140534023
apps/sim/components/emcn/components/banner/banner.tsxhttps://github.com/simstudioai/sim/pull/3742/files#diff-a102686ccd6952f04baa05270c84055b5c0d6b3aa5d70f0bbfc7c1e37cc5f01d
View file https://github.com/simstudioai/sim/blob/6f97d5a363e99d6123fca04293fa431da0af7e33/apps/sim/components/emcn/components/banner/banner.tsx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/3742/{{ revealButtonHref }}
apps/sim/components/emcn/components/index.tshttps://github.com/simstudioai/sim/pull/3742/files#diff-752a5362437bf3a92be2e9d638363ebbc9c231f0d89bc55b8a2ce65c8bc2d2b6
View file https://github.com/simstudioai/sim/blob/6f97d5a363e99d6123fca04293fa431da0af7e33/apps/sim/components/emcn/components/index.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/3742/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/3742/files#diff-752a5362437bf3a92be2e9d638363ebbc9c231f0d89bc55b8a2ce65c8bc2d2b6
https://github.com/simstudioai/sim/pull/3742/files#diff-752a5362437bf3a92be2e9d638363ebbc9c231f0d89bc55b8a2ce65c8bc2d2b6
apps/sim/hooks/queries/admin-users.tshttps://github.com/simstudioai/sim/pull/3742/files#diff-4a7e4c80fa55bb0a3233bbae8a1b9a4c792dcb74b218d7f1822807dec8b357db
View file https://github.com/simstudioai/sim/blob/6f97d5a363e99d6123fca04293fa431da0af7e33/apps/sim/hooks/queries/admin-users.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/3742/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/3742/files#diff-4a7e4c80fa55bb0a3233bbae8a1b9a4c792dcb74b218d7f1822807dec8b357db
Please reload this pagehttps://github.com/simstudioai/sim/pull/3742/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.