| 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:158be832-4950-e99b-91c4-16b631dd044c |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | BF1E:2F3575:D15429:1295997:6AFB63F7 |
| html-safe-nonce | 2dc7d145878e8aea28d443eb54e65d322b7a702df3f859d1735bf303d6ff3861 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRjFFOjJGMzU3NTpEMTU0Mjk6MTI5NTk5Nzo2QUZCNjNGNyIsInZpc2l0b3JfaWQiOiIxOTYzODA3ODg3MzIyNzM1NjA3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 2213f80d16235e20fff12c8669e3b2c1177c0a19e8bc6251d36a403d1cdcbf18 |
| hovercard-subject-tag | pull_request:3469660911 |
| 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/3858/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
Admin, Copilot, UI actions had different perms, audit logging and db query behaviour leading to a range of bugs. UI actions are treated as source of truth and extracted in helpers used acro... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | ea33d13c96d0ff66bd8fa906b193d2213536b78cb06b0c50a4632c58b1418f94 |
| 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 | 59ef97164c52cf59bd10558ddec9c4f482763988 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/simstudioai/sim/pull/3858/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F3858%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%2F3858%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/3858/files |
| Reload | https://github.com/simstudioai/sim/pull/3858/files |
| Reload | https://github.com/simstudioai/sim/pull/3858/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 requests197 (197) | 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 |
| improvement/ui-action-consolidation | https://github.com/simstudioai/sim/tree/improvement/ui-action-consolidation |
|
Conversation
14
| https://github.com/simstudioai/sim/pull/3858 |
|
Commits
5
| https://github.com/simstudioai/sim/pull/3858/commits |
|
Checks
10
| https://github.com/simstudioai/sim/pull/3858/checks |
|
Files changed
| https://github.com/simstudioai/sim/pull/3858/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/3858/files |
|
improvement(platform): standardize perms, audit logging, lifecycle across admin, copilot, ui actions
| https://github.com/simstudioai/sim/pull/3858/files#top |
|
Show all changes
5 commits
| https://github.com/simstudioai/sim/pull/3858/files |
|
24af7cd
improvement(platform): standardize perms, audit logging, lifecycle mg…
Mar 31, 2026
| https://github.com/simstudioai/sim/pull/3858/commits/24af7cd6279452f428a8f671e7ae4773021a1d3f |
|
6e6a4d1
address comments
Mar 31, 2026
| https://github.com/simstudioai/sim/pull/3858/commits/6e6a4d184299f1b17cee836cf5d83d2ecea52a1b |
|
7f5357c
improve error codes
Mar 31, 2026
| https://github.com/simstudioai/sim/pull/3858/commits/7f5357c3671c5cdd65154c7dc31c7aaa195e288a |
|
2c5a65c
address bugbot comments
Mar 31, 2026
| https://github.com/simstudioai/sim/pull/3858/commits/2c5a65ce4e63aba2e183e34af8e21839e6a73ec1 |
|
a11c8a5
fix test
Mar 31, 2026
| https://github.com/simstudioai/sim/pull/3858/commits/a11c8a55f3738c72b8d3148b888846f59cebda11 |
|
Clear filters
| https://github.com/simstudioai/sim/pull/3858/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/3858/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/3858/files |
|
route.test.ts
| https://github.com/simstudioai/sim/pull/3858/files#diff-0e04be9d6afac8946da999ce0d5829c5a6bf3d13d1824803f8696fd45184a988 |
|
route.ts
| https://github.com/simstudioai/sim/pull/3858/files#diff-8fdda6329b95d4f70457c7b438067be116645337cda9fbc64e8fdab9c13415d7 |
|
route.test.ts
| https://github.com/simstudioai/sim/pull/3858/files#diff-842f669f4996328c96a4d18412bf4bf2b789fcf1a4da5b9383546d353f240bc6 |
|
route.ts
| https://github.com/simstudioai/sim/pull/3858/files#diff-6b51473ad82497a73196805629df8ede7d8e2c429afc587ad468cd3a1bd9fe4c |
|
route.test.ts
| https://github.com/simstudioai/sim/pull/3858/files#diff-ba839ad46f3c78842743b168156d15087cb7c042936d3d989f5cd993ba955f9c |
|
route.ts
| https://github.com/simstudioai/sim/pull/3858/files#diff-51108c36ee50960410361a72def7ce9c8f71597ed6ffc2c5fccd37382e0c94b6 |
|
route.ts
| https://github.com/simstudioai/sim/pull/3858/files#diff-aafccbb99e784e73655f459d566358aa7be1011cabecd59521b42ffe70ad2c44 |
|
route.ts
| https://github.com/simstudioai/sim/pull/3858/files#diff-e78332d7870e83079e580a654eba2069c8c6128192e54670a947456b5301c7c9 |
|
route.ts
| https://github.com/simstudioai/sim/pull/3858/files#diff-7ea625bba94aece63d1f4444081bfddf3d21e9f181f5aac789fa4564cc41d6b3 |
|
route.ts
| https://github.com/simstudioai/sim/pull/3858/files#diff-ffb8ebdb6a6570b31c67f0646dbd4e8a5ca7c41d9dd8f0a0d9cb081ccde379ab |
|
route.ts
| https://github.com/simstudioai/sim/pull/3858/files#diff-049a70c340d99d9b7493aa51c60673acb032c1783cd848566168e6b9df2e7220 |
|
route.ts
| https://github.com/simstudioai/sim/pull/3858/files#diff-6ed5224f423ef38b70e9ee7208bf3912747c076e65bbe4b03fd88aea28f097e4 |
|
route.ts
| https://github.com/simstudioai/sim/pull/3858/files#diff-4cf61fb84853e3c7121ec61aa7a56dbe07080eb6491d2d6abdf0d7acfbf9d52c |
|
route.test.ts
| https://github.com/simstudioai/sim/pull/3858/files#diff-415c77da1dafb6f7320bef8c6addb469bc314e713c4b394ba848fa3ae147e9ad |
|
route.ts
| https://github.com/simstudioai/sim/pull/3858/files#diff-3faa6dcec0eede3c673a9fde378d9025d08026657402d3c58170446fa02ea9b9 |
|
log.ts
| https://github.com/simstudioai/sim/pull/3858/files#diff-9dc829d8ee9cc2950c1d1cf11299753551e86c36449e5c2be6dadab871209ee8 |
|
content-blocks.ts
| https://github.com/simstudioai/sim/pull/3858/files#diff-6d57c6576a7861bb270beb4d8605e262656e1ccb789b1a9c275decfd2664f556 |
|
handlers.ts
| https://github.com/simstudioai/sim/pull/3858/files#diff-9c98a379ef9d1effdd6290ffb5291ea2b911ad9effc78b7f8fa46f94110bada4 |
|
access.ts
| https://github.com/simstudioai/sim/pull/3858/files#diff-1248083b884a13185ddde1453c3ee7734cdca414db8c7c3eae4d1232d252702c |
|
deploy.ts
| https://github.com/simstudioai/sim/pull/3858/files#diff-de3c99f40c8946940915112a997b252b0908b9a4961bb74abf7163ec7c04fc8f |
|
manage.ts
| https://github.com/simstudioai/sim/pull/3858/files#diff-14c1bbfd51ce20f1f33d3bf686bc87b61711b360e24c070d5cf50189db4b11ee |
|
index.ts
| https://github.com/simstudioai/sim/pull/3858/files#diff-a2a9b6dfce15894f15ccf852fdfd171e1854c54f84904cb6c2af8810c264b34e |
|
job-tools.ts
| https://github.com/simstudioai/sim/pull/3858/files#diff-a29915aecd666fcf98da91e6e621aec6493f936463b63ccb120f0d4495c1a5f8 |
|
materialize-file.ts
| https://github.com/simstudioai/sim/pull/3858/files#diff-da24af269a44cb1a5c2c36480538036a738088ea5ba453e31a626ce19c8740b1 |
|
mutations.ts
| https://github.com/simstudioai/sim/pull/3858/files#diff-2754f45de4bea6ff06465dc2a19b648aefff2fdb3b5834f2ff59299b99d72ef7 |
|
queries.ts
| https://github.com/simstudioai/sim/pull/3858/files#diff-582cdf671c12e9277aa140f998f3a15b95c97e4f80d3305e16f1ad7481bfa810 |
|
chat-deploy.ts
| https://github.com/simstudioai/sim/pull/3858/files#diff-90076014d55499b5e14f84d7b33ca58d2fb9a333d0affd5023491e9b3134fdfb |
|
deploy.ts
| https://github.com/simstudioai/sim/pull/3858/files#diff-e3083973a5a2bb250918deebd5132571398ac1ca67e83cb9c3dfab7a9ee388c4 |
|
folder-lifecycle.ts
| https://github.com/simstudioai/sim/pull/3858/files#diff-2f72b73aa7690aee6452ed732da12fce707f93e7f21577a80b7a87ee745afd4d |
|
index.ts
| https://github.com/simstudioai/sim/pull/3858/files#diff-953b607af0fc8967ccc818804e5c7907efadd9b1c3a7ec8475d8eb58b21f5f11 |
|
types.ts
| https://github.com/simstudioai/sim/pull/3858/files#diff-557b79305ba81ffd9ca33dbbdfc37e988c27c4c59bda0878f5f7b599981537e1 |
|
workflow-lifecycle.ts
| https://github.com/simstudioai/sim/pull/3858/files#diff-95e7538e4d87787269e3bed0a51a8a851beedcc654a68a8d4a6ec05281ad0876 |
|
utils.ts
| https://github.com/simstudioai/sim/pull/3858/files#diff-7b029db7d808b99bfca86f62abe1091505e18af80043833381ad7f439966bf2d |
|
audit.mock.ts
| https://github.com/simstudioai/sim/pull/3858/files#diff-ddbf3f281bccb1e55eb3765c29403087addedc24fb5f99c437c69a9a412c1e91 |
| apps/sim/app/api/chat/manage/[id]/route.test.ts | https://github.com/simstudioai/sim/pull/3858/files#diff-0e04be9d6afac8946da999ce0d5829c5a6bf3d13d1824803f8696fd45184a988 |
|
View file
| https://github.com/simstudioai/sim/blob/a11c8a55f3738c72b8d3148b888846f59cebda11/apps/sim/app/api/chat/manage/%5Bid%5D/route.test.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/3858/{{ revealButtonHref }} |
|
| https://github.com/simstudioai/sim/pull/3858/files#diff-0e04be9d6afac8946da999ce0d5829c5a6bf3d13d1824803f8696fd45184a988 |
|
| https://github.com/simstudioai/sim/pull/3858/files#diff-0e04be9d6afac8946da999ce0d5829c5a6bf3d13d1824803f8696fd45184a988 |
|
| https://github.com/simstudioai/sim/pull/3858/files#diff-0e04be9d6afac8946da999ce0d5829c5a6bf3d13d1824803f8696fd45184a988 |
|
| https://github.com/simstudioai/sim/pull/3858/files#diff-0e04be9d6afac8946da999ce0d5829c5a6bf3d13d1824803f8696fd45184a988 |
|
| https://github.com/simstudioai/sim/pull/3858/files#diff-0e04be9d6afac8946da999ce0d5829c5a6bf3d13d1824803f8696fd45184a988 |
|
| https://github.com/simstudioai/sim/pull/3858/files#diff-0e04be9d6afac8946da999ce0d5829c5a6bf3d13d1824803f8696fd45184a988 |
|
| https://github.com/simstudioai/sim/pull/3858/files#diff-0e04be9d6afac8946da999ce0d5829c5a6bf3d13d1824803f8696fd45184a988 |
|
| https://github.com/simstudioai/sim/pull/3858/files#diff-0e04be9d6afac8946da999ce0d5829c5a6bf3d13d1824803f8696fd45184a988 |
| apps/sim/app/api/chat/manage/[id]/route.ts | https://github.com/simstudioai/sim/pull/3858/files#diff-8fdda6329b95d4f70457c7b438067be116645337cda9fbc64e8fdab9c13415d7 |
|
View file
| https://github.com/simstudioai/sim/blob/a11c8a55f3738c72b8d3148b888846f59cebda11/apps/sim/app/api/chat/manage/%5Bid%5D/route.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/3858/{{ revealButtonHref }} |
|
| https://github.com/simstudioai/sim/pull/3858/files#diff-8fdda6329b95d4f70457c7b438067be116645337cda9fbc64e8fdab9c13415d7 |
|
| https://github.com/simstudioai/sim/pull/3858/files#diff-8fdda6329b95d4f70457c7b438067be116645337cda9fbc64e8fdab9c13415d7 |
|
| https://github.com/simstudioai/sim/pull/3858/files#diff-8fdda6329b95d4f70457c7b438067be116645337cda9fbc64e8fdab9c13415d7 |
|
| https://github.com/simstudioai/sim/pull/3858/files#diff-8fdda6329b95d4f70457c7b438067be116645337cda9fbc64e8fdab9c13415d7 |
| apps/sim/app/api/chat/route.test.ts | https://github.com/simstudioai/sim/pull/3858/files#diff-842f669f4996328c96a4d18412bf4bf2b789fcf1a4da5b9383546d353f240bc6 |
|
View file
| https://github.com/simstudioai/sim/blob/a11c8a55f3738c72b8d3148b888846f59cebda11/apps/sim/app/api/chat/route.test.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/3858/{{ revealButtonHref }} |
|
| https://github.com/simstudioai/sim/pull/3858/files#diff-842f669f4996328c96a4d18412bf4bf2b789fcf1a4da5b9383546d353f240bc6 |
|
| https://github.com/simstudioai/sim/pull/3858/files#diff-842f669f4996328c96a4d18412bf4bf2b789fcf1a4da5b9383546d353f240bc6 |
|
| https://github.com/simstudioai/sim/pull/3858/files#diff-842f669f4996328c96a4d18412bf4bf2b789fcf1a4da5b9383546d353f240bc6 |
|
| https://github.com/simstudioai/sim/pull/3858/files#diff-842f669f4996328c96a4d18412bf4bf2b789fcf1a4da5b9383546d353f240bc6 |
|
| https://github.com/simstudioai/sim/pull/3858/files#diff-842f669f4996328c96a4d18412bf4bf2b789fcf1a4da5b9383546d353f240bc6 |
|
| https://github.com/simstudioai/sim/pull/3858/files#diff-842f669f4996328c96a4d18412bf4bf2b789fcf1a4da5b9383546d353f240bc6 |
|
| https://github.com/simstudioai/sim/pull/3858/files#diff-842f669f4996328c96a4d18412bf4bf2b789fcf1a4da5b9383546d353f240bc6 |
|
| https://github.com/simstudioai/sim/pull/3858/files#diff-842f669f4996328c96a4d18412bf4bf2b789fcf1a4da5b9383546d353f240bc6 |
|
| https://github.com/simstudioai/sim/pull/3858/files#diff-842f669f4996328c96a4d18412bf4bf2b789fcf1a4da5b9383546d353f240bc6 |
|
| https://github.com/simstudioai/sim/pull/3858/files#diff-842f669f4996328c96a4d18412bf4bf2b789fcf1a4da5b9383546d353f240bc6 |
|
| https://github.com/simstudioai/sim/pull/3858/files#diff-842f669f4996328c96a4d18412bf4bf2b789fcf1a4da5b9383546d353f240bc6 |
|
| https://github.com/simstudioai/sim/pull/3858/files#diff-842f669f4996328c96a4d18412bf4bf2b789fcf1a4da5b9383546d353f240bc6 |
|
| https://github.com/simstudioai/sim/pull/3858/files#diff-842f669f4996328c96a4d18412bf4bf2b789fcf1a4da5b9383546d353f240bc6 |
| Please reload this page | https://github.com/simstudioai/sim/pull/3858/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/3858/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 |