Files
social-media/docs/TASKS/organizations/007-organization-onboarding.md
Jonathan Bourdon db16e79d9f
All checks were successful
deploy-socialize / image (push) Successful in 1m8s
deploy-socialize / deploy (push) Successful in 19s
feat: add organization onboarding
2026-05-07 20:07:50 -04:00

1.2 KiB

Task: Organization onboarding for users without access

Feature

docs/FEATURES/organizations.md

Goal

When an authenticated user has no accessible organizations and no accessible workspaces, redirect them to an onboarding screen where they can create a new organization as its owner or request access from an existing organization/workspace administrator.

Scope

  • Add a protected onboarding route.
  • Add a backend endpoint for creating an organization owned by the current user.
  • Add frontend store support for organization creation.
  • Redirect authenticated users with no organization/workspace access to onboarding.
  • Keep users with direct workspace access out of onboarding even if they are not organization members.
  • Add English and French UI strings.

Validation

dotnet build backend/Socialize.slnx
cd frontend
npm run build

Done

  • Users without organization or workspace access are redirected to onboarding.
  • Users can create an organization as owner.
  • Users can prepare an organization/workspace access request email.
  • OpenAPI snapshot and frontend schema are updated.
  • Backend build and tests pass.
  • Frontend build passes.