Skip to content

Add team membership features with security hardening - #267

Merged
bokelley merged 2 commits into
mainfrom
team-membership-workos
Dec 2, 2025
Merged

bokelley merged 2 commits into
mainfrom
team-membership-workos

Conversation

@bokelley

@bokelley bokelley commented Dec 2, 2025

Copy link
Copy Markdown
Contributor

Summary

Implements comprehensive team management features with security hardening and improved UX for the registry.

Security Fixes

  • SQL injection prevention via explicit column mapping in database updates
  • Authorization bypass fix in billing endpoint
  • Rate limiting on auth, invitation, and org creation endpoints
  • Input validation for organization names and email addresses

Features

  • Personal vs team workspace indicators with visual badges
  • Convert personal workspaces to team workspaces
  • Role display in invitation list on onboarding page
  • Persistent org context switcher in dashboard header
  • Stripe customer sync integration with WorkOS

Test Results

All tests passing including schemas, examples, extensions, and unit tests.

bokelley and others added 2 commits December 2, 2025 08:31
Addresses all security and UX issues from code reviews:
- Fix SQL injection in updateOrganization via explicit column mapping
- Remove silent auth bypass in billing endpoint
- Add rate limiting to auth, invitation, and org creation endpoints
- Add input validation for organization names and emails
- Show personal vs team workspace indicators with badges
- Add convert-to-team action for personal workspaces
- Display user role in invitation list on onboarding page
- Add persistent org context switcher in dashboard header
- Sync Stripe customers with WorkOS organizations on startup

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
@bokelley
bokelley force-pushed the team-membership-workos branch from 843e620 to e96347a Compare December 2, 2025 15:51
@bokelley
bokelley merged commit a29b172 into main Dec 2, 2025
bmilekic pushed a commit to bmilekic/adcp that referenced this pull request Dec 5, 2025
…ol#267)

* Add team membership features with security hardening

Addresses all security and UX issues from code reviews:
- Fix SQL injection in updateOrganization via explicit column mapping
- Remove silent auth bypass in billing endpoint
- Add rate limiting to auth, invitation, and org creation endpoints
- Add input validation for organization names and emails
- Show personal vs team workspace indicators with badges
- Add convert-to-team action for personal workspaces
- Display user role in invitation list on onboarding page
- Add persistent org context switcher in dashboard header
- Sync Stripe customers with WorkOS organizations on startup

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>

* Add changeset for team membership features

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>

---------

Co-authored-by: Claude <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant