Repository navigation
feat: add secure workspace invitations - #55
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Warning Review limit reachedNext included review available in 36 minutes. View limit detailsLimit details: You’ve used the included review currently available. Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. Review configuration: ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Free Run ID: 📒 Files selected for processing (2)
ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Free Run ID: 📒 Files selected for processing (8)
Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review. 📝 WalkthroughWalkthroughAdds workspace invitation storage and RPCs, a ChangesWorkspace invitations
Estimated code review effort: 4 (Complex) | ~60 minutes Sequence Diagram(s)sequenceDiagram
participant Client
participant workspace_invites
participant SupabaseAuth
participant SupabaseRPC
participant Mailer
Client->>workspace_invites: submit authenticated invitation request
workspace_invites->>SupabaseAuth: verify bearer identity
workspace_invites->>SupabaseRPC: create, deliver, revoke, or redeem invite
SupabaseRPC-->>workspace_invites: return invitation result
workspace_invites->>Mailer: send email invitation when configured
workspace_invites-->>Client: return HTTP response
Note 🎁 Summarized by CodeRabbit FreeYour organization is on the Free plan. CodeRabbit will generate a high-level summary and a walkthrough for each pull request. For a comprehensive line-by-line review, please upgrade your subscription to CodeRabbit Essentials by visiting https://app.coderabbit.ai/settings/billing. Comment |
|
@coderabbitai review |
|
Summary
Verification
Deployment boundary
Code only. No migration, Edge deployment, sender setup, or secret change was performed. Future environments require WORKSPACE_INVITE_SECRET and an approved idempotent email relay.
Summary by CodeRabbit
New Features
Documentation
Tests