Repository navigation
Team invite privilege escalation - #14947
Conversation
|
Review complete. No issues found — approved ✅. This small PR reorders the authorization logic in the team memberships create endpoint, failing closed on missing owner privileges before invitee lookup, membership creation, mails, or events run. The matching e2e client base is updated to exercise the new behavior. No verified issues were found. Reviewed commit: d605cac |
🟢 Tier S · Ready to merge
Moves the team-invitation authorization check ahead of invitee lookup and account creation. Adds E2E coverage verifying a non-owner member is denied and that the rejected invitation leaves the email available for account registration.
📂 Walkthrough · 2
Reviewed |
Security rulesNo new WARNING or ERROR findings from security rules. 6 existing findings tracked in
|
✨ Benchmark resultsComparing
Per-scenario breakdown & investigation detailsMetrics below reflect the current branch (after). Δ P95 compares against the base.
Top API waits (after)
|
What does this PR do?
(Provide a description of what this PR does and why it's needed.)
Test Plan
(Write your test plan here. If you changed any code, please provide us with clear instructions on how you verified your changes work. Screenshots may also be helpful.)
Related PRs and Issues
Checklist