Team Collaboration
How Handlet models team workspaces, members, and shared customer work.
Team accounts let multiple people work from the same Handlet workspace.
Workspace model
Team routes use /home/[account], where account is the workspace slug. Product data is scoped by account_id and protected by RLS policies.
Team capabilities
- shared inbox and customer context
- channels managed at workspace level
- team member access and invitations
- workspace settings for tone, assumptions, pricing, and integrations
Permission checks
Use existing account and permission helpers for team membership and role checks. Do not duplicate authorization logic in UI components when a server loader, server action, or RLS policy should own it.