René's URL Explorer Experiment


Title: improvement(platform): standardize perms, audit logging, lifecycle across admin, copilot, ui actions by icecrasher321 · Pull Request #3858 · simstudioai/sim · GitHub

Open Graph Title: improvement(platform): standardize perms, audit logging, lifecycle across admin, copilot, ui actions by icecrasher321 · Pull Request #3858 · simstudioai/sim

X Title: improvement(platform): standardize perms, audit logging, lifecycle across admin, copilot, ui actions by icecrasher321 · Pull Request #3858 · simstudioai/sim

Description: 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 across in the bodies of all 3 of these surfaces. Examples of Bugs: Webhook deployed via mothership doesn't manage lifecycle like UI deploy leading to 404s Chat deploy auths are different Perms are different to run/create resources via UI vs mothership Admin didn't cleanup resources in the same way for workflows Type of Change Bug fix Other: Code improvement Testing Tested manually 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)

Open Graph Description: 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...

X Description: 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...

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

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:158be832-4950-e99b-91c4-16b631dd044c
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idBF1E:2F3575:D15429:1295997:6AFB63F7
html-safe-nonce2dc7d145878e8aea28d443eb54e65d322b7a702df3f859d1735bf303d6ff3861
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRjFFOjJGMzU3NTpEMTU0Mjk6MTI5NTk5Nzo2QUZCNjNGNyIsInZpc2l0b3JfaWQiOiIxOTYzODA3ODg3MzIyNzM1NjA3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac2213f80d16235e20fff12c8669e3b2c1177c0a19e8bc6251d36a403d1cdcbf18
hovercard-subject-tagpull_request:3469660911
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/3858/files
twitter:imagehttps://avatars.githubusercontent.com/u/17950982?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/17950982?s=400&v=4
og:image:altSummary 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_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noneea33d13c96d0ff66bd8fa906b193d2213536b78cb06b0c50a4632c58b1418f94
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
release59ef97164c52cf59bd10558ddec9c4f482763988
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/simstudioai/sim/pull/3858/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F3858%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%2F3858%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/3858/files
Reloadhttps://github.com/simstudioai/sim/pull/3858/files
Reloadhttps://github.com/simstudioai/sim/pull/3858/files
simstudioaihttps://github.com/simstudioai
simhttps://github.com/simstudioai/sim
Codehttps://github.com/simstudioai/sim
Issues129 (129)https://github.com/simstudioai/sim/issues
Pull requests197 (197)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
icecrasher321https://github.com/icecrasher321
staginghttps://github.com/simstudioai/sim/tree/staging
improvement/ui-action-consolidationhttps://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 pagehttps://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 pagehttps://github.com/simstudioai/sim/pull/3858/files
Please reload this pagehttps://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.tshttps://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.tshttps://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.tshttps://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 pagehttps://github.com/simstudioai/sim/pull/3858/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/3858/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.