1.2 KiB
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.