Organizations & Teams
Collaborate with your team on migration management
ORGANIZATIONS & TEAMS
Manage your team workspace, invite members, and collaborate on migration management.
WHAT IS AN ORGANIZATION?
An organization is your team workspace in CAPYSQUASH. It provides:
👥 TEAM COLLABORATION
- ☑ Shared projects
- ☑ Role-based access
- ☑ Activity audit log
- 🚧 Team discussions and comments (Coming Soon)
💳 UNIFIED BILLING
- ☑ Single subscription
- ☑ Usage tracking
- ☑ Shared limits
- ☑ Invoices & receipts
ORGANIZATION STRUCTURE
Organization (e.g., "Acme Startup")
├── Members (Engineers, PMs, Designers)
│ ├── Admin (Full access)
│ ├── Member (Can edit)
│ └── Viewer (Read-only)
├── Projects
│ ├── Production API
│ ├── Staging Dashboard
│ └── Mobile Backend
├── Activity Log
└── SettingsCREATING YOUR ORGANIZATION
First-Time Setup
When you sign up, you'll be prompted to create your organization:
CREATE ORGANIZATION IN 3 STEPS
CHOOSE NAME
Pick a name for your organization (e.g., "Acme Startup")
SET SLUG
Choose a unique URL slug (e.g., "acme-startup")
CONFIRM
Click "Create Organization" and you're ready!
Organization Settings
After creation, configure:
- Name - Display name for your organization
- Logo - Upload custom logo (Agency/Enterprise)
- Default safety level - Default for new projects
- Billing email - Where invoices are sent
- Webhooks - Integration endpoints
TEAM ROLES
Role Types
CAPYSQUASH uses three role levels with different permissions:
👨💼 ADMIN
Full control over organization
- ☑ Create/edit/delete projects
- ☑ Run analyses and squashing
- ☑ Invite/remove team members
- ☑ Change member roles
- ☑ Manage billing and subscription
- ☑ Access all settings
- ☑ View audit logs
- ☑ Delete organization
👨💻 MEMBER
Day-to-day project work
- ☑ Create/edit/delete projects
- ☑ Run analyses and squashing
- ☑ View all projects
- ☑ View activity log
- ☒ Cannot invite/remove members
- ☒ Cannot manage billing
- ☒ Cannot change settings
👁️ VIEWER
Read-only access for stakeholders
- ☑ View all projects
- ☑ View analysis results
- ☑ View activity log
- ☑ View dashboards
- ☒ Cannot run analyses
- ☒ Cannot edit projects
- ☒ Cannot change anything
Role Use Cases
Admin - CTO, Tech Lead, DevOps Lead
- Needs full control
- Manages team and billing
- Sets organization-wide policies
Member - Engineers, Developers
- Daily migration work
- Creates and analyzes projects
- No administrative overhead
Viewer - Product Managers, Designers, Stakeholders
- Needs visibility
- Tracks progress
- No ability to make changes
INVITING TEAM MEMBERS
🔑 MANAGED THROUGH CLERK
Team member invitations are handled through the Clerk Dashboard, not directly in CAPYSQUASH. This provides enterprise-grade user management with proven security.
Clerk provides authentication, user management, and team collaboration features that CAPYSQUASH leverages. This means team setup happens in Clerk's interface, and members automatically get access to your CAPYSQUASH organization once they accept.
Invitation Flow
INVITE A TEAM MEMBER VIA CLERK
GO TO CLERK DASHBOARD
Navigate to dashboard.clerk.com
SELECT YOUR ORGANIZATION
Find and select your CAPYSQUASH organization
CLICK "INVITE MEMBERS"
Use Clerk's invitation interface
SEND INVITATION
Enter email address and assign role - Clerk sends invitation email
MEMBER JOINS AUTOMATICALLY
They accept invitation via Clerk, and automatically get CAPYSQUASH access
💡 Why Clerk? Clerk provides battle-tested authentication, MFA, session management, and user administration. By leveraging Clerk, CAPYSQUASH can focus on migration optimization while you get enterprise-grade security.
Invitation Limits
| Plan | Members Allowed |
|---|---|
| Free | 1 (you) |
| Creator | 1 (you) |
| Professional | Unlimited* |
| Agency | Unlimited* |
| Enterprise | Unlimited |
🚧 Team Member Limit Enforcement:
The platform database schema supports team member limits per plan, but enforcement UI is currently in development. Team invitations via Clerk are currently unlimited for all paid plans while we complete the enforcement system. Single-user limits (Free/Creator) are enforced.
MANAGING MEMBERS
Change Member Role
Via Clerk Dashboard:
- Go to dashboard.clerk.com
- Select your organization
- Find the member
- Update their role in Clerk's interface
- Changes sync to CAPYSQUASH automatically
Note: Changes take effect immediately. CAPYSQUASH respects Clerk's role assignments.
Remove Member
Via Clerk Dashboard:
- Go to dashboard.clerk.com
- Select your organization
- Find the member
- Remove them from the organization
- They lose CAPYSQUASH access immediately
Important:
- Member loses access to both Clerk organization and CAPYSQUASH immediately
- Their activity history in CAPYSQUASH remains for audit purposes
- They can be re-invited later via Clerk
Transfer Ownership
To transfer organization ownership:
- Promote new owner to Admin role
- Contact support@CAPYSQUASH.dev
- We'll process the transfer
- Original owner can be downgraded
Enterprise: Self-service ownership transfer available.
ACTIVITY AUDIT LOG
Track all organization activity:
📋 TRACKED ACTIVITIES
- ☑ Project created/updated/deleted
- ☑ Analysis run
- ☑ Files uploaded
- ☑ Member invited/removed
- ☑ Role changed
- ☑ Settings updated
- ☑ Subscription changed
- ☑ API key created/deleted
Activity Details
Each log entry shows:
- Who - Which user performed the action
- What - What action was performed
- When - Timestamp
- Where - IP address and user agent (security)
- Context - Additional details (project name, etc.)
Filter Activity
Filter by:
- User - See one person's actions
- Action type - Only project creations, etc.
- Project - Actions on specific project
- Date range - Last 7 days, 30 days, custom
USAGE TRACKING
Monitor your organization's usage limits:
Tracked Metrics
📊 USAGE METRICS
- Projects: 3/10 used
- Analyses this month: 45/100
- Team members: 4/Unlimited
- Storage: 125 MB / 1 GB (Enterprise)
Limit Warnings
Automatic notifications when you reach:
- 80% - Warning email sent
- 90% - Warning shown in dashboard
- 100% - Upgrade prompt, some features limited
ORGANIZATION SETTINGS
Default Safety Level
Set default for all new projects:
- Paranoid
- Conservative
- Standard (recommended)
- Aggressive
Members can override per-project.
Auto-Delete Old Runs
Configure automatic cleanup:
- Never - Keep all runs forever
- 30 days - Delete runs older than 30 days
- 60 days - Delete runs older than 60 days
- 90 days - Delete runs older than 90 days
Note: Affects storage usage (Enterprise plans).
Notification Preferences
Configure email notifications:
- Usage limit warnings (80%, 100%)
- Weekly activity summary
- Security alerts (new IP, failed logins)
- Subscription updates
Webhooks
Set up webhook endpoints for:
- Analysis completed
- Analysis failed
- Usage limit reached
- Member joined/left
- Subscription changed
SWITCHING ORGANIZATIONS
Users can belong to multiple organizations.
Switch Organization
- Click organization dropdown (top-right)
- Select different organization
- Dashboard updates to show that org's projects
Leave Organization
- Go to Organization Settings
- Click "Leave Organization"
- Confirm
Note: Cannot leave if you're the only Admin.
DELETING AN ORGANIZATION
⚠️ DANGER ZONE
Deleting an organization is permanent and cannot be undone.
What gets deleted:
- All projects
- All analysis runs
- All activity logs
- All API keys
- All database connections
- Subscription canceled
Requirements:
- Must be an Admin
- Must be the only member (remove others first)
- Must confirm by typing organization name
BEST PRACTICES
For Startups
- Start with 1-2 Admins - CTO and Tech Lead
- Add engineers as Members - They don't need admin access
- Add PM/designers as Viewers - Give visibility without edit access
- Review activity log weekly - Stay aware of changes
For Agencies
- Create one org per agency - Not per client
- Projects = client databases - One project per client
- Use white-label branding - Professional client reports
- Set Member permissions carefully - Junior devs might be Viewers
For Enterprises
- Use SSO/SAML - Centralized authentication
- Regular audit log reviews - Compliance requirement
- Automate with API - Integrate with internal tools
- Enterprise support - Contact hello@CAPYSQUASH.dev for SLA options
COMMON QUESTIONS
Q: How many organizations can I create? A: Unlimited. But you need a paid plan for each organization.
Q: Can members see billing information? A: Only Admins can view/manage billing.
Q: What happens when I remove a member? A: They lose access immediately. Their activity history remains for audit purposes.
Q: Can I transfer projects between organizations? A: Not yet. Contact support@CAPYSQUASH.dev for assistance.
Q: Do all members count toward my plan limit? A: Only on Free and Creator plans. Professional+ have unlimited members.
NEXT STEPS
How is this guide?