René's URL Explorer Experiment


Title: fix(credential-groups): stop requiring a human subject on workflow ops by TheodoreSpeaks · Pull Request #7275 · simstudioai/sim · GitHub

Open Graph Title: fix(credential-groups): stop requiring a human subject on workflow ops by TheodoreSpeaks · Pull Request #7275 · simstudioai/sim

X Title: fix(credential-groups): stop requiring a human subject on workflow ops by TheodoreSpeaks · Pull Request #7275 · simstudioai/sim

Description: Summary list_groups, list_people, and send_invite required a Sim user subject, so every unattended run failed with Credential Group user access required — a Slack-triggered run's subject is the external Slack user, and a schedule or public-API run has no subject at all Replaced that gate with requireCredentialGroupWorkflowActor, which keeps the assert that a delegation's subject matches the run it was minted for but no longer demands a Sim user. Authority for an actorless caller is unchanged: executor delegation, matching workspace, in-scope resource, deployment-mode current workflow get_invite_link already had no such check, so the four workflow-facing ops are now consistent Invitations no longer name an inviter when there is none, instead of borrowing the run's actor and claiming a person invited when they did not — inviterName is optional through send-invite → enrollments → email render → subject line, and the copy branches: subject: You have been invited to connect accounts for on Sim body: has been invited to connect accounts for … Dropped the invented 'A workspace admin' fallback on the enrollment landing page; PublicCredentialGroupEnrollment.inviterName is now nullable and the page reads "You have been invited to connect accounts for ." Session-only admin surfaces (batch invite, resend) still pass a real inviter name — a human admin did invite them Type of Change Bug fix Testing New send-invite.test.ts covers Slack-triggered, actorless schedule, session-actor, email-fallback, admin-permission, and spoofed-subject cases; added requireCredentialGroupWorkflowActor coverage to authorization.test.ts. Credential-groups, email, and enrollment-surface suites pass (241 tests). bun run type-check, bun run lint, bun run check:audits (39/39), and the block-registry audit all pass. 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 list_groups, list_people, and send_invite required a Sim user subject, so every unattended run failed with Credential Group user access required — a Slack-triggered run's subject is th...

X Description: Summary list_groups, list_people, and send_invite required a Sim user subject, so every unattended run failed with Credential Group user access required — a Slack-triggered run's subject i...

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

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:6c89efd4-516a-d1f7-d7a8-1214d2587340
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC752:2FF5E0:62356B:8766F1:6AFB3FD5
html-safe-nonce3cd624017f9fb35154293fac1aaf3cd8bc4eae80bab97837f236106a65e4618b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNzUyOjJGRjVFMDo2MjM1NkI6ODc2NkYxOjZBRkIzRkQ1IiwidmlzaXRvcl9pZCI6IjE3Mjk4ODQ3NjEyODg4MTg2NDUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacf120bcbc2db6156ee6c9fa310d0d2fcf4e60aa2b9aff16e8cdcdf7864c248ede
hovercard-subject-tagpull_request:4390599347
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/7275/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 list_groups, list_people, and send_invite required a Sim user subject, so every unattended run failed with Credential Group user access required — a Slack-triggered run's subject is th...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noned849b928f455c800985398e7f1b659425adb312a5fa14fba5d9a14e62e9fe5dd
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
releasea6c2f87cbcb6414452377b4967858ed6a66f1109
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/simstudioai/sim/pull/7275/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F7275%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%2F7275%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/7275/files
Reloadhttps://github.com/simstudioai/sim/pull/7275/files
Reloadhttps://github.com/simstudioai/sim/pull/7275/files
simstudioaihttps://github.com/simstudioai
simhttps://github.com/simstudioai/sim
Codehttps://github.com/simstudioai/sim
Issues129 (129)https://github.com/simstudioai/sim/issues
Pull requests202 (202)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
fix/delegate-principal-subworkflowhttps://github.com/simstudioai/sim/tree/fix/delegate-principal-subworkflow
Conversation 2 https://github.com/simstudioai/sim/pull/7275
Commits 1 https://github.com/simstudioai/sim/pull/7275/commits
Checks 27 https://github.com/simstudioai/sim/pull/7275/checks
Files changed https://github.com/simstudioai/sim/pull/7275/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/7275/files
fix(credential-groups): stop requiring a human subject on workflow ops https://github.com/simstudioai/sim/pull/7275/files#top
Show all changes 1 commit https://github.com/simstudioai/sim/pull/7275/files
fb3d452 fix(credential-groups): stop requiring a human subject on workflow ops TheodoreSpeaks Aug 29, 2026 https://github.com/simstudioai/sim/pull/7275/commits/fb3d452385dc52b9bb070c896861f4ae5f2273b3
Clear filters https://github.com/simstudioai/sim/pull/7275/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/7275/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/7275/files
page.tsx https://github.com/simstudioai/sim/pull/7275/files#diff-57ca2f8b4ccd9b3333e61a2e95b4bb941528db676869b6dbe35e8547715c8c0e
credential-group-invitation-email.tsx https://github.com/simstudioai/sim/pull/7275/files#diff-cf7062996fff82c44565ecc58a314e11b24987e91a8688bf5e2f167a8aeb9062
render.ts https://github.com/simstudioai/sim/pull/7275/files#diff-94e2d6c98692c1109ced8a45dede259271cc43187699f823d9b00f78be0cdda7
subjects.ts https://github.com/simstudioai/sim/pull/7275/files#diff-4680bf51600327b7fcff156e81c10db04d37b229080efada7a4696e111537df2
authorization.test.ts https://github.com/simstudioai/sim/pull/7275/files#diff-94de4f49d7ba674ab6589812ed680712b72c2159e692a9161ff67f21f3386458
authorization.ts https://github.com/simstudioai/sim/pull/7275/files#diff-b8ee9680284aa419efd50129822f22c9c9d306787192440c0b42c0f8e5a4aa9c
list-groups.ts https://github.com/simstudioai/sim/pull/7275/files#diff-235915ee0e7e02f3c666b77630da2bfb0b0228dd27fb8a700a26619d8f9ff041
list-people.ts https://github.com/simstudioai/sim/pull/7275/files#diff-7c8eb31998ab698cf6b3367c2f3e800a3723f12751b822190ec8f60b26932baf
send-invite.test.ts https://github.com/simstudioai/sim/pull/7275/files#diff-08662b5be74b64fdb23ddd117be78d8b409b52a0cae39439ae519e7630d29faf
send-invite.ts https://github.com/simstudioai/sim/pull/7275/files#diff-281b06a4b54de3da9d92b5194010b0a07cda148a110e7a69a2c7aecad01e9d03
enrollments.ts https://github.com/simstudioai/sim/pull/7275/files#diff-2e00a68da90c32ebbc73ba57d72e0a478d689715bf973b3b82d89b0b1ec026c8
apps/sim/app/credential-groups/enroll/[token]/page.tsxhttps://github.com/simstudioai/sim/pull/7275/files#diff-57ca2f8b4ccd9b3333e61a2e95b4bb941528db676869b6dbe35e8547715c8c0e
View file https://github.com/simstudioai/sim/blob/fb3d452385dc52b9bb070c896861f4ae5f2273b3/apps/sim/app/credential-groups/enroll/%5Btoken%5D/page.tsx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/7275/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/7275/files#diff-57ca2f8b4ccd9b3333e61a2e95b4bb941528db676869b6dbe35e8547715c8c0e
https://github.com/simstudioai/sim/pull/7275/files#diff-57ca2f8b4ccd9b3333e61a2e95b4bb941528db676869b6dbe35e8547715c8c0e
apps/sim/components/emails/credential-groups/credential-group-invitation-email.tsxhttps://github.com/simstudioai/sim/pull/7275/files#diff-cf7062996fff82c44565ecc58a314e11b24987e91a8688bf5e2f167a8aeb9062
View file https://github.com/simstudioai/sim/blob/fb3d452385dc52b9bb070c896861f4ae5f2273b3/apps/sim/components/emails/credential-groups/credential-group-invitation-email.tsx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/7275/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/7275/files#diff-cf7062996fff82c44565ecc58a314e11b24987e91a8688bf5e2f167a8aeb9062
https://github.com/simstudioai/sim/pull/7275/files#diff-cf7062996fff82c44565ecc58a314e11b24987e91a8688bf5e2f167a8aeb9062
https://github.com/simstudioai/sim/pull/7275/files#diff-cf7062996fff82c44565ecc58a314e11b24987e91a8688bf5e2f167a8aeb9062
apps/sim/components/emails/credential-groups/render.tshttps://github.com/simstudioai/sim/pull/7275/files#diff-94e2d6c98692c1109ced8a45dede259271cc43187699f823d9b00f78be0cdda7
View file https://github.com/simstudioai/sim/blob/fb3d452385dc52b9bb070c896861f4ae5f2273b3/apps/sim/components/emails/credential-groups/render.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/7275/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/7275/files#diff-94e2d6c98692c1109ced8a45dede259271cc43187699f823d9b00f78be0cdda7
https://github.com/simstudioai/sim/pull/7275/files#diff-94e2d6c98692c1109ced8a45dede259271cc43187699f823d9b00f78be0cdda7
apps/sim/components/emails/subjects.tshttps://github.com/simstudioai/sim/pull/7275/files#diff-4680bf51600327b7fcff156e81c10db04d37b229080efada7a4696e111537df2
View file https://github.com/simstudioai/sim/blob/fb3d452385dc52b9bb070c896861f4ae5f2273b3/apps/sim/components/emails/subjects.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/7275/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/7275/files#diff-4680bf51600327b7fcff156e81c10db04d37b229080efada7a4696e111537df2
apps/sim/lib/credential-groups/application/authorization.test.tshttps://github.com/simstudioai/sim/pull/7275/files#diff-94de4f49d7ba674ab6589812ed680712b72c2159e692a9161ff67f21f3386458
View file https://github.com/simstudioai/sim/blob/fb3d452385dc52b9bb070c896861f4ae5f2273b3/apps/sim/lib/credential-groups/application/authorization.test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/7275/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/7275/files#diff-94de4f49d7ba674ab6589812ed680712b72c2159e692a9161ff67f21f3386458
https://github.com/simstudioai/sim/pull/7275/files#diff-94de4f49d7ba674ab6589812ed680712b72c2159e692a9161ff67f21f3386458
https://github.com/simstudioai/sim/pull/7275/files#diff-94de4f49d7ba674ab6589812ed680712b72c2159e692a9161ff67f21f3386458
apps/sim/lib/credential-groups/application/authorization.tshttps://github.com/simstudioai/sim/pull/7275/files#diff-b8ee9680284aa419efd50129822f22c9c9d306787192440c0b42c0f8e5a4aa9c
View file https://github.com/simstudioai/sim/blob/fb3d452385dc52b9bb070c896861f4ae5f2273b3/apps/sim/lib/credential-groups/application/authorization.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/7275/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/7275/files#diff-b8ee9680284aa419efd50129822f22c9c9d306787192440c0b42c0f8e5a4aa9c
https://github.com/simstudioai/sim/pull/7275/files#diff-b8ee9680284aa419efd50129822f22c9c9d306787192440c0b42c0f8e5a4aa9c
https://github.com/simstudioai/sim/pull/7275/files#diff-b8ee9680284aa419efd50129822f22c9c9d306787192440c0b42c0f8e5a4aa9c
apps/sim/lib/credential-groups/application/list-groups.tshttps://github.com/simstudioai/sim/pull/7275/files#diff-235915ee0e7e02f3c666b77630da2bfb0b0228dd27fb8a700a26619d8f9ff041
View file https://github.com/simstudioai/sim/blob/fb3d452385dc52b9bb070c896861f4ae5f2273b3/apps/sim/lib/credential-groups/application/list-groups.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/7275/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/7275/files#diff-235915ee0e7e02f3c666b77630da2bfb0b0228dd27fb8a700a26619d8f9ff041
https://github.com/simstudioai/sim/pull/7275/files#diff-235915ee0e7e02f3c666b77630da2bfb0b0228dd27fb8a700a26619d8f9ff041
https://github.com/simstudioai/sim/pull/7275/files#diff-235915ee0e7e02f3c666b77630da2bfb0b0228dd27fb8a700a26619d8f9ff041
https://github.com/simstudioai/sim/pull/7275/files#diff-235915ee0e7e02f3c666b77630da2bfb0b0228dd27fb8a700a26619d8f9ff041
apps/sim/lib/credential-groups/application/list-people.tshttps://github.com/simstudioai/sim/pull/7275/files#diff-7c8eb31998ab698cf6b3367c2f3e800a3723f12751b822190ec8f60b26932baf
View file https://github.com/simstudioai/sim/blob/fb3d452385dc52b9bb070c896861f4ae5f2273b3/apps/sim/lib/credential-groups/application/list-people.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/7275/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/7275/files#diff-7c8eb31998ab698cf6b3367c2f3e800a3723f12751b822190ec8f60b26932baf
https://github.com/simstudioai/sim/pull/7275/files#diff-7c8eb31998ab698cf6b3367c2f3e800a3723f12751b822190ec8f60b26932baf
https://github.com/simstudioai/sim/pull/7275/files#diff-7c8eb31998ab698cf6b3367c2f3e800a3723f12751b822190ec8f60b26932baf
https://github.com/simstudioai/sim/pull/7275/files#diff-7c8eb31998ab698cf6b3367c2f3e800a3723f12751b822190ec8f60b26932baf
Please reload this pagehttps://github.com/simstudioai/sim/pull/7275/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/7275/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.