René's URL Explorer Experiment


Title: fix(sharing): fixed folders not appearing when sharing workflows by waleedlatif1 · Pull Request #616 · simstudioai/sim · GitHub

Open Graph Title: fix(sharing): fixed folders not appearing when sharing workflows by waleedlatif1 · Pull Request #616 · simstudioai/sim

X Title: fix(sharing): fixed folders not appearing when sharing workflows by waleedlatif1 · Pull Request #616 · simstudioai/sim

Description: Description fixed folders not appearing when sharing workflows the issue is that in the folders/[id] route we were checking the userid, when it should really be checking the user permissions Type of change Bug fix (non-breaking change which fixes an issue) How Has This Been Tested? Added tests, verified manually Checklist: My code follows the style guidelines of this project I have performed a self-review of my own code I have commented my code, particularly in hard-to-understand areas I have added tests that prove my fix is effective or that my feature works All tests pass locally and in CI (bun run test) My changes generate no new warnings Any dependent changes have been merged and published in downstream modules I have updated version numbers as needed (if needed) I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA) Security Considerations: My changes do not introduce any new security vulnerabilities I have considered the security implications of my changes Additional Information: Comprehensive table of our roles and their permissions: Operation Read Write Admin View folders/workflows ✅ ✅ ✅ Run workflows ✅ ✅ ✅ Create workflows ❌ ✅ ✅ Create folders ❌ ✅ ✅ Edit workflows ❌ ✅ ✅ Rename folders ❌ ✅ ✅ Duplicate workflows ❌ ✅ ✅ Deploy workflows ❌ ❌ ✅ Delete workflows ❌ ❌ ✅ Delete folders ❌ ❌ ✅ Invite members ❌ ❌ ✅ Manage permissions ❌ ❌ ✅ Delete workspace ❌ ❌ ✅

Open Graph Description: Description fixed folders not appearing when sharing workflows the issue is that in the folders/[id] route we were checking the userid, when it should really be checking the user permissions Type...

X Description: Description fixed folders not appearing when sharing workflows the issue is that in the folders/[id] route we were checking the userid, when it should really be checking the user permissions Type...

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

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:bd6b887f-f743-c936-68a5-73d3b2061f2c
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8450:30D166:2E1912:425095:6AFB32F3
html-safe-nonce6394d5376130969d283407eaa2209919586f0476e7ac795b7f4724a96a8fd2c3
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NDUwOjMwRDE2NjoyRTE5MTI6NDI1MDk1OjZBRkIzMkYzIiwidmlzaXRvcl9pZCI6IjQ2MDU5MDIwMDkyMzk1NDg2NTkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacfe2959d2e7e0381daa7dfe01904fa8232a0c22193e47bbf0c1d952452917e621
hovercard-subject-tagpull_request:2642443305
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/616/files
twitter:imagehttps://avatars.githubusercontent.com/u/40672544?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/40672544?s=400&v=4
og:image:altDescription fixed folders not appearing when sharing workflows the issue is that in the folders/[id] route we were checking the userid, when it should really be checking the user permissions Type...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noneefe184de15c1d8c1107a340cfc27bf7187b458dc07687ee1fa51f035148fb3d1
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
releasef567cf3af46b50a3211fb5dab569a9d6a7b58025
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/simstudioai/sim/pull/616/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F616%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%2F616%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/616/files
Reloadhttps://github.com/simstudioai/sim/pull/616/files
Reloadhttps://github.com/simstudioai/sim/pull/616/files
simstudioaihttps://github.com/simstudioai
simhttps://github.com/simstudioai/sim
Codehttps://github.com/simstudioai/sim
Issues129 (129)https://github.com/simstudioai/sim/issues
Pull requests198 (198)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
waleedlatif1https://github.com/waleedlatif1
staginghttps://github.com/simstudioai/sim/tree/staging
fix/sharinghttps://github.com/simstudioai/sim/tree/fix/sharing
Conversation 12 https://github.com/simstudioai/sim/pull/616
Commits 3 https://github.com/simstudioai/sim/pull/616/commits
Checks 0 https://github.com/simstudioai/sim/pull/616/checks
Files changed https://github.com/simstudioai/sim/pull/616/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/616/files
fix(sharing): fixed folders not appearing when sharing workflows https://github.com/simstudioai/sim/pull/616/files#top
Show all changes 3 commits https://github.com/simstudioai/sim/pull/616/files
a38ba76 fix(sharing): fixed folders not appearing when sharing workflows waleedlatif1 Jul 4, 2025 https://github.com/simstudioai/sim/pull/616/commits/a38ba76237a363dc419b1b9cee087ecdc9cd8eba
bc0c357 cleanup waleedlatif1 Jul 4, 2025 https://github.com/simstudioai/sim/pull/616/commits/bc0c357236a25f0eaad66c285ca9d0349ca0bc3a
dac0db7 fixed error case waleedlatif1 Jul 4, 2025 https://github.com/simstudioai/sim/pull/616/commits/dac0db71186bc87c44e857e4a06e494548ece01b
Clear filters https://github.com/simstudioai/sim/pull/616/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/616/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/616/files
route.test.ts https://github.com/simstudioai/sim/pull/616/files#diff-ba839ad46f3c78842743b168156d15087cb7c042936d3d989f5cd993ba955f9c
route.ts https://github.com/simstudioai/sim/pull/616/files#diff-51108c36ee50960410361a72def7ce9c8f71597ed6ffc2c5fccd37382e0c94b6
route.test.ts https://github.com/simstudioai/sim/pull/616/files#diff-fe3bc258f43a77e381b2ab2f4880f2163866fbb03aace133ae365d098cf60e48
route.ts https://github.com/simstudioai/sim/pull/616/files#diff-4398b7055f123cbcbc87b1c0928f06630175e24cb39a72f28fe70d8f45766d48
route.ts https://github.com/simstudioai/sim/pull/616/files#diff-0cfcce231969b571fe8a6bc791136a4b7f938ebcc325b6b53a41902f7b70c0e0
route.ts https://github.com/simstudioai/sim/pull/616/files#diff-f5a9bd61280d65bafa9520a530255d85885068a3ea0d8b1dfa8f74faaa1049ca
control-bar.tsx https://github.com/simstudioai/sim/pull/616/files#diff-cb5bfeaf85fbc83ec14b1b2777a7eb3522c36cfab01a84522694380806dfe99d
folder-context-menu.tsx https://github.com/simstudioai/sim/pull/616/files#diff-2028a3df01cd5224ce0623533b17404aee7fa96ddfa06340a69a02a9473ab6ce
apps/sim/app/api/folders/[id]/route.test.tshttps://github.com/simstudioai/sim/pull/616/files#diff-ba839ad46f3c78842743b168156d15087cb7c042936d3d989f5cd993ba955f9c
View file https://github.com/simstudioai/sim/blob/dac0db71186bc87c44e857e4a06e494548ece01b/apps/sim/app/api/folders/%5Bid%5D/route.test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/616/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/616/files#diff-ba839ad46f3c78842743b168156d15087cb7c042936d3d989f5cd993ba955f9c
https://github.com/simstudioai/sim/pull/616/files#diff-ba839ad46f3c78842743b168156d15087cb7c042936d3d989f5cd993ba955f9c
https://github.com/simstudioai/sim/pull/616/files#diff-ba839ad46f3c78842743b168156d15087cb7c042936d3d989f5cd993ba955f9c
https://github.com/simstudioai/sim/pull/616/files#diff-ba839ad46f3c78842743b168156d15087cb7c042936d3d989f5cd993ba955f9c
https://github.com/simstudioai/sim/pull/616/files#diff-ba839ad46f3c78842743b168156d15087cb7c042936d3d989f5cd993ba955f9c
https://github.com/simstudioai/sim/pull/616/files#diff-ba839ad46f3c78842743b168156d15087cb7c042936d3d989f5cd993ba955f9c
https://github.com/simstudioai/sim/pull/616/files#diff-ba839ad46f3c78842743b168156d15087cb7c042936d3d989f5cd993ba955f9c
https://github.com/simstudioai/sim/pull/616/files#diff-ba839ad46f3c78842743b168156d15087cb7c042936d3d989f5cd993ba955f9c
apps/sim/app/api/folders/[id]/route.tshttps://github.com/simstudioai/sim/pull/616/files#diff-51108c36ee50960410361a72def7ce9c8f71597ed6ffc2c5fccd37382e0c94b6
View file https://github.com/simstudioai/sim/blob/dac0db71186bc87c44e857e4a06e494548ece01b/apps/sim/app/api/folders/%5Bid%5D/route.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/616/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/616/files#diff-51108c36ee50960410361a72def7ce9c8f71597ed6ffc2c5fccd37382e0c94b6
https://github.com/simstudioai/sim/pull/616/files#diff-51108c36ee50960410361a72def7ce9c8f71597ed6ffc2c5fccd37382e0c94b6
https://github.com/simstudioai/sim/pull/616/files#diff-51108c36ee50960410361a72def7ce9c8f71597ed6ffc2c5fccd37382e0c94b6
https://github.com/simstudioai/sim/pull/616/files#diff-51108c36ee50960410361a72def7ce9c8f71597ed6ffc2c5fccd37382e0c94b6
https://github.com/simstudioai/sim/pull/616/files#diff-51108c36ee50960410361a72def7ce9c8f71597ed6ffc2c5fccd37382e0c94b6
Please reload this pagehttps://github.com/simstudioai/sim/pull/616/files
https://github.com/simstudioai/sim/pull/616/files#diff-51108c36ee50960410361a72def7ce9c8f71597ed6ffc2c5fccd37382e0c94b6
Please reload this pagehttps://github.com/simstudioai/sim/pull/616/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.