AletheiaFact / AletheiaFact/aletheia
B2B-6 · Member invitations (org-scoped)
- Lenguaje dominante
- TypeScript
- Estrellas
- 55
- Forks
- 20
- Merge medio
- 2 d 6 h
- PR fusionados (30 d)
- 2
Descripción
Part of the B2B epic (Fase 1 · item 1.3). Invitations hang off the Organization (B2B-5), not the namespace.
## What
- [ ] `Invite` schema (email / org / role / token / expiry)
- [ ] `POST /organization/:id/invite` endpoint + e-mail (Nodemailer + Handlebars templates already exist)
- [ ] Wire token → registration with pre-set role/org — reuse Ory recovery links or own token (`server/users/users.controller.ts:67-88` self-service register; `ory.service.ts:102-137` `createIdentity` already in use)
- [ ] Frontend: **`src/pages/signup-invite.tsx` + `RegistrationInvite/` already exist but are non-functional** — wire them up
**Effort:** ~1–1.5 SP · **Depends on:** B2B-5
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Línea de trabajo
First confirm B2B-5, then read server/users/users.controller.ts:67-88 and ory.service.ts:102-137 for the existing registration and identity flows. Inspect src/pages/signup-invite.tsx and the RegistrationInvite/ components, along with the existing Nodemailer and Handlebars templates. Done means the organization-scoped invite endpoint, email, token-based registration, preset role and organization, and invite signup UI work together.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- handlebars, typescript
- Área
- authentication, backend-api-design, full-stack
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Tranquilo
- Claridad
- Bastante claro
- Aptitud para principiantes
- 48/100