| react-profiling | 0 |
| react-import-map | react,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-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:912ae137-da57-236b-89a3-e78407f6ca93 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D77A:219171:535108:764A9B:6AFB404E |
| html-safe-nonce | b3e1aef09879b7c79ea856b36a76fbbb1308f9fc1b942b7fdf2be74d2f56d819 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENzdBOjIxOTE3MTo1MzUxMDg6NzY0QTlCOjZBRkI0MDRFIiwidmlzaXRvcl9pZCI6IjUzMDY2NzQ3NDAxODAyMzg0MTQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | c9ef893ea5f843681f00ddd7ab7e9db33cae6b939a0a48cf0480d51410a34a3d |
| hovercard-subject-tag | pull_request:4186269746 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/simstudioai/sim/pull/6180/files |
| twitter:image | https://avatars.githubusercontent.com/u/17950982?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/17950982?s=400&v=4 |
| og:image:alt | Summary
Fixes a workspace-access bypass. PATCH /api/workspaces/[id]/permissions accepted arbitrary userIds and inserted permission rows for them, letting any workspace admin attach an account — and... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | d849b928f455c800985398e7f1b659425adb312a5fa14fba5d9a14e62e9fe5dd |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/simstudioai/sim git https://github.com/simstudioai/sim.git |
| octolytics-dimension-user_id | 199344406 |
| octolytics-dimension-user_login | simstudioai |
| octolytics-dimension-repository_id | 912559512 |
| octolytics-dimension-repository_nwo | simstudioai/sim |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 912559512 |
| octolytics-dimension-repository_network_root_nwo | simstudioai/sim |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | a6c2f87cbcb6414452377b4967858ed6a66f1109 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/simstudioai/sim/pull/6180/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F6180%2Ffiles |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F6180%2Ffiles |
| Sign up | https://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 |
| Reload | https://github.com/simstudioai/sim/pull/6180/files |
| Reload | https://github.com/simstudioai/sim/pull/6180/files |
| Reload | https://github.com/simstudioai/sim/pull/6180/files |
| simstudioai | https://github.com/simstudioai |
| sim | https://github.com/simstudioai/sim |
| Code | https://github.com/simstudioai/sim |
| Issues129 (129) | https://github.com/simstudioai/sim/issues |
| Pull requests200 (200) | https://github.com/simstudioai/sim/pulls |
| Actions | https://github.com/simstudioai/sim/actions |
| Projects | https://github.com/simstudioai/sim/projects |
| Security and quality | https://github.com/simstudioai/sim/security |
| Insights | https://github.com/simstudioai/sim/pulse |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose |
| icecrasher321 | https://github.com/icecrasher321 |
| staging | https://github.com/simstudioai/sim/tree/staging |
| staging-v22 | https://github.com/simstudioai/sim/tree/staging-v22 |
|
Conversation
12
| https://github.com/simstudioai/sim/pull/6180 |
|
Commits
2
| https://github.com/simstudioai/sim/pull/6180/commits |
|
Checks
27
| https://github.com/simstudioai/sim/pull/6180/checks |
|
Files changed
| https://github.com/simstudioai/sim/pull/6180/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/6180/files |
|
improvement(permissions): confine workspace role changes to existing members
| https://github.com/simstudioai/sim/pull/6180/files#top |
|
Show all changes
2 commits
| https://github.com/simstudioai/sim/pull/6180/files |
|
0e6b5b4
improvement(permissions): confine workspace role changes to existing …
Aug 2, 2026
| https://github.com/simstudioai/sim/pull/6180/commits/0e6b5b43067ba8ec9f0e187dfd9de2cecd53fcdf |
|
21820e0
improvement(permissions): retry lock timeouts and audit admin upserts…
Aug 2, 2026
| https://github.com/simstudioai/sim/pull/6180/commits/21820e02acb5032ee124516e5c9c2f7eb45b6a31 |
|
Clear filters
| https://github.com/simstudioai/sim/pull/6180/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/6180/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/6180/files |
|
route.test.ts
| https://github.com/simstudioai/sim/pull/6180/files#diff-1cd3a4efa5d2f0a0b1163583d196f21973f02e3608b4263e2873590f47b811c2 |
|
route.ts
| https://github.com/simstudioai/sim/pull/6180/files#diff-d3a66a663b1c4032f4d947a62183b2e7c286f6b3098272ce587191cb052c438d |
|
route.ts
| https://github.com/simstudioai/sim/pull/6180/files#diff-1733674e380049892af79db64fe1febda0b36428667c8e6237533c21a51d6418 |
|
route.ts
| https://github.com/simstudioai/sim/pull/6180/files#diff-36331b6ed09cc800757b189a93f7cdfcdb81ee5a9f6c9e205bdbc483dc67c92c |
|
route.test.ts
| https://github.com/simstudioai/sim/pull/6180/files#diff-db0fcd852e69eddcd9449d11b676577bd09419f9ed79b395fa5a05dfd6275b93 |
|
route.ts
| https://github.com/simstudioai/sim/pull/6180/files#diff-312ea52cc8a82213638ab480f5771640a73d3350c8b147a8bf729e8266f26edb |
|
organization-member-lists.tsx
| https://github.com/simstudioai/sim/pull/6180/files#diff-2bdf5cc850bc520509b805c9ac07fded05481ee062990ff66221e96b31647510 |
|
teammates.tsx
| https://github.com/simstudioai/sim/pull/6180/files#diff-6552de4cf6d80acc6c8dcc22e8fcfeb9c1c503a332b25cc33f6310c8aaced1b5 |
|
role-lock.tsx
| https://github.com/simstudioai/sim/pull/6180/files#diff-1d71365a0b13edc7c66fee842d85983b3b85b38881f3652e6c9f8d623747e6a7 |
|
invitations.ts
| https://github.com/simstudioai/sim/pull/6180/files#diff-efa0352dde6fcd9c796ff6264336cd76e41cdaff1237883c6322c57dee528745 |
|
organization.ts
| https://github.com/simstudioai/sim/pull/6180/files#diff-589c92452da41752ecc4e89e1da6948c485eb8dbf0da7b924126e46eb18f08bc |
|
workspaces.ts
| https://github.com/simstudioai/sim/pull/6180/files#diff-cc809bb2a9762a5e34aa3dead6e253dc3a338a8015828af9cbc7a24bd40c8e1d |
|
transaction.test.ts
| https://github.com/simstudioai/sim/pull/6180/files#diff-761a7000a53d33c36fcf08ac864a9699c6f2064894c8de970d88e7c83df52004 |
|
transaction.ts
| https://github.com/simstudioai/sim/pull/6180/files#diff-0c44f8dd01c9a8a793a4fa759fa403f1d7c95e545bef4af4798236a052be52df |
|
utils.test.ts
| https://github.com/simstudioai/sim/pull/6180/files#diff-45d86b72a59e0d48f3a927159660215d3f1c1889b96aefc3159dd255c68c505a |
|
utils.ts
| https://github.com/simstudioai/sim/pull/6180/files#diff-07191b757d3b2d0d7bb1010340242588896ee4ade5df67d9e36b8e07522da1a8 |
| apps/sim/app/api/organizations/[id]/roster/route.test.ts | https://github.com/simstudioai/sim/pull/6180/files#diff-1cd3a4efa5d2f0a0b1163583d196f21973f02e3608b4263e2873590f47b811c2 |
|
View file
| https://github.com/simstudioai/sim/blob/21820e02acb5032ee124516e5c9c2f7eb45b6a31/apps/sim/app/api/organizations/%5Bid%5D/roster/route.test.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/6180/{{ revealButtonHref }} |
|
| https://github.com/simstudioai/sim/pull/6180/files#diff-1cd3a4efa5d2f0a0b1163583d196f21973f02e3608b4263e2873590f47b811c2 |
|
| https://github.com/simstudioai/sim/pull/6180/files#diff-1cd3a4efa5d2f0a0b1163583d196f21973f02e3608b4263e2873590f47b811c2 |
|
| https://github.com/simstudioai/sim/pull/6180/files#diff-1cd3a4efa5d2f0a0b1163583d196f21973f02e3608b4263e2873590f47b811c2 |
| apps/sim/app/api/organizations/[id]/roster/route.ts | https://github.com/simstudioai/sim/pull/6180/files#diff-d3a66a663b1c4032f4d947a62183b2e7c286f6b3098272ce587191cb052c438d |
|
View file
| https://github.com/simstudioai/sim/blob/21820e02acb5032ee124516e5c9c2f7eb45b6a31/apps/sim/app/api/organizations/%5Bid%5D/roster/route.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/6180/{{ revealButtonHref }} |
|
| https://github.com/simstudioai/sim/pull/6180/files#diff-d3a66a663b1c4032f4d947a62183b2e7c286f6b3098272ce587191cb052c438d |
|
| https://github.com/simstudioai/sim/pull/6180/files#diff-d3a66a663b1c4032f4d947a62183b2e7c286f6b3098272ce587191cb052c438d |
|
| https://github.com/simstudioai/sim/pull/6180/files#diff-d3a66a663b1c4032f4d947a62183b2e7c286f6b3098272ce587191cb052c438d |
|
| https://github.com/simstudioai/sim/pull/6180/files#diff-d3a66a663b1c4032f4d947a62183b2e7c286f6b3098272ce587191cb052c438d |
|
| https://github.com/simstudioai/sim/pull/6180/files#diff-d3a66a663b1c4032f4d947a62183b2e7c286f6b3098272ce587191cb052c438d |
|
| https://github.com/simstudioai/sim/pull/6180/files#diff-d3a66a663b1c4032f4d947a62183b2e7c286f6b3098272ce587191cb052c438d |
|
| https://github.com/simstudioai/sim/pull/6180/files#diff-d3a66a663b1c4032f4d947a62183b2e7c286f6b3098272ce587191cb052c438d |
|
| https://github.com/simstudioai/sim/pull/6180/files#diff-d3a66a663b1c4032f4d947a62183b2e7c286f6b3098272ce587191cb052c438d |
|
| https://github.com/simstudioai/sim/pull/6180/files#diff-d3a66a663b1c4032f4d947a62183b2e7c286f6b3098272ce587191cb052c438d |
| apps/sim/app/api/v1/admin/workspaces/[id]/members/[memberId]/route.ts | https://github.com/simstudioai/sim/pull/6180/files#diff-1733674e380049892af79db64fe1febda0b36428667c8e6237533c21a51d6418 |
|
View file
| https://github.com/simstudioai/sim/blob/21820e02acb5032ee124516e5c9c2f7eb45b6a31/apps/sim/app/api/v1/admin/workspaces/%5Bid%5D/members/%5BmemberId%5D/route.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/6180/{{ revealButtonHref }} |
|
| https://github.com/simstudioai/sim/pull/6180/files#diff-1733674e380049892af79db64fe1febda0b36428667c8e6237533c21a51d6418 |
|
| https://github.com/simstudioai/sim/pull/6180/files#diff-1733674e380049892af79db64fe1febda0b36428667c8e6237533c21a51d6418 |
|
| https://github.com/simstudioai/sim/pull/6180/files#diff-1733674e380049892af79db64fe1febda0b36428667c8e6237533c21a51d6418 |
|
| https://github.com/simstudioai/sim/pull/6180/files#diff-1733674e380049892af79db64fe1febda0b36428667c8e6237533c21a51d6418 |
| apps/sim/app/api/v1/admin/workspaces/[id]/members/route.ts | https://github.com/simstudioai/sim/pull/6180/files#diff-36331b6ed09cc800757b189a93f7cdfcdb81ee5a9f6c9e205bdbc483dc67c92c |
|
View file
| https://github.com/simstudioai/sim/blob/21820e02acb5032ee124516e5c9c2f7eb45b6a31/apps/sim/app/api/v1/admin/workspaces/%5Bid%5D/members/route.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/6180/{{ revealButtonHref }} |
|
| https://github.com/simstudioai/sim/pull/6180/files#diff-36331b6ed09cc800757b189a93f7cdfcdb81ee5a9f6c9e205bdbc483dc67c92c |
|
| https://github.com/simstudioai/sim/pull/6180/files#diff-36331b6ed09cc800757b189a93f7cdfcdb81ee5a9f6c9e205bdbc483dc67c92c |
|
| https://github.com/simstudioai/sim/pull/6180/files#diff-36331b6ed09cc800757b189a93f7cdfcdb81ee5a9f6c9e205bdbc483dc67c92c |
|
| https://github.com/simstudioai/sim/pull/6180/files#diff-36331b6ed09cc800757b189a93f7cdfcdb81ee5a9f6c9e205bdbc483dc67c92c |
|
| https://github.com/simstudioai/sim/pull/6180/files#diff-36331b6ed09cc800757b189a93f7cdfcdb81ee5a9f6c9e205bdbc483dc67c92c |
|
| https://github.com/simstudioai/sim/pull/6180/files#diff-36331b6ed09cc800757b189a93f7cdfcdb81ee5a9f6c9e205bdbc483dc67c92c |
|
| https://github.com/simstudioai/sim/pull/6180/files#diff-36331b6ed09cc800757b189a93f7cdfcdb81ee5a9f6c9e205bdbc483dc67c92c |
|
| https://github.com/simstudioai/sim/pull/6180/files#diff-36331b6ed09cc800757b189a93f7cdfcdb81ee5a9f6c9e205bdbc483dc67c92c |
| Please reload this page | https://github.com/simstudioai/sim/pull/6180/files |
|
| https://github.com/simstudioai/sim/pull/6180/files#diff-36331b6ed09cc800757b189a93f7cdfcdb81ee5a9f6c9e205bdbc483dc67c92c |
| Please reload this page | https://github.com/simstudioai/sim/pull/6180/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/6180/files |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |