Repository navigation
fix(credential-groups): final audit follow-ups for connect links and Access - #10766
Merged
Merged
Conversation
…mails, honest expiry copy - Claiming a request for an address again requires user.emailVerified everywhere, including on deployments that cannot verify email: drop verified-email.ts and the relaxed credentials query. - Verify email state sends a code when opened (/verify?sendCode=true); where no code can be sent it asks the person to sign in with Google or Microsoft instead of looping through /verify. - A connection request email is sent while the enrollment is still a pending workflow request, no longer pinned to the latest workflow and integration, so a later request for another integration no longer drops the first email. providerId leaves the outbox payload. - An expired non-Slack OAuth attempt shows the generic expired message.
- Link cleanup cron returns 500 when a table's drain fails, after both tables run - One active-options-for-provider helper and one Access-tab provider predicate for the request path and the admin policy's in-effect check - Connect, start, OAuth start and MCP start URLs come from connect-url builders; enrollment links hand back their token instead of being parsed (enrollment-links.ts removed) - Invitation tokens hash through hashInvitationToken everywhere - requestExpiresAt(now) replaces five copies of the renewal arithmetic - Link OAuth origins come from one const array the contract and types derive from - pendingWorkflowRequestCondition lives with the request email event; static import of the email handlers ends the cycle - Drop an unread link-record field, file-local exports, a restating TSDoc, and the duplicated connection-status/request input; reuse hasOrganizationSetup in canSelfEnroll - Connect route test: drop the declaration test and the six identical outcome cases - README: MCP attempts live ten minutes, Send email vs Send reminder, outbox wording - A first workflow-request email sent from People no longer reads as a reminder - Policy and Access refusals name the setting they come from
…re than 1000 workspaces The Access read loaded every active workspace in the organization and refused once there were more than the grant cap, so large organizations saw only "Workspace access supports at most 1000 workspaces" and could not use Access or Workflow connection requests. The read now names only the granted workspaces (bounded by the grant cap), and Add workspace searches the organization's workspaces without access on the server: a bounded, wildcard-escaped name search behind the same admin read operation, exposed to the settings UI and to Copilot (search_workspaces). The grant cap itself is unchanged.
…ants, review follow-ups
…own and access helpers
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
…e unmatched picker selection
Collaborator
Author
Collaborator
Author
|
@cubic-dev-ai review this PR |
Contributor
@waleedlatif1 I have started the AI code review. It will take a few minutes to complete. |
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Final audit follow-ups for Credential Groups connect links (#10743), plus the Access tab failing for large organizations.
enrollment-links.ts, dead exports, and a declaration test.Type of Change
Testing
lib/credential-groups/__integration__, the cleanup job, managed-oauth and dry-run suites (15 files, 278 tests).verify_emailon a non-verifying deploymenttsc --noEmitfor apps/sim; lint;check:api-validation:strict,check:test-types,check:boundaries,check:source-conventions,check:comment-hygiene,check:file-names; block registry check.Checklist
test-auditauthoring gate)