Files
bigcapital/packages/server
Ahmed Bouhuolia e968cf646c feat(ee): add multi-organization workspaces feature
- Add `user_tenants` system DB migration for many-to-many user-to-org relationship
- Add backfill migration to populate existing users into join table
- Add `UserTenant` Objection.js system model and register globally
- Enforce org membership validation in `TenancyGlobalGuard` (security)
- Add `modules/ee/Workspaces` with full CRUD: create, list, delete, build-status
- Add `CreateUserTenantOnSignupSubscriber` for backward-compatible signup flow
- Register `WorkspacesModule` in `AppModule`

API endpoints:
  GET  /workspaces              - list all orgs user belongs to
  POST /workspaces              - create new org (async build)
  GET  /workspaces/build/:jobId - poll build job status
  DELETE /workspaces/:orgId     - delete org (owner only)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-20 16:49:54 +02:00
..
2025-06-29 16:55:02 +02:00
2026-01-09 23:38:52 +02:00
2025-04-07 11:51:24 +02:00
2025-04-07 11:51:24 +02:00
2025-04-07 11:51:24 +02:00
2025-04-07 11:51:24 +02:00
2025-04-07 11:51:24 +02:00
2025-04-07 11:51:24 +02:00