docs: adds workspace-invites feature and tasks
This commit is contained in:
37
docs/TASKS/workspace-invites/002-invite-email-delivery.md
Normal file
37
docs/TASKS/workspace-invites/002-invite-email-delivery.md
Normal file
@@ -0,0 +1,37 @@
|
||||
# Task: Invite Email Delivery
|
||||
|
||||
## Goal
|
||||
|
||||
Send invited users an acceptance link when a workspace invite is created or resent.
|
||||
|
||||
## Feature Spec
|
||||
|
||||
- `docs/FEATURES/workspace-invites.md`
|
||||
|
||||
## Scope
|
||||
|
||||
- Generate acceptance URLs from configured website options.
|
||||
- Send an invite email after successful invite creation.
|
||||
- Add a manager-only resend endpoint for pending, unexpired invites.
|
||||
- Avoid sending email if invite creation fails.
|
||||
- Do not include sensitive token values in logs.
|
||||
|
||||
## Constraints
|
||||
|
||||
- Use the repository email infrastructure.
|
||||
- Do not introduce a new email provider.
|
||||
- Keep email copy concise and product-specific.
|
||||
|
||||
## Likely Files
|
||||
|
||||
- `backend/src/Socialize.Api/Modules/Workspaces/Handlers/CreateWorkspaceInvite.cs`
|
||||
- `backend/src/Socialize.Api/Modules/Workspaces/Handlers/ResendWorkspaceInvite.cs`
|
||||
- `backend/src/Socialize.Api/Infrastructure/Emailer/`
|
||||
- `backend/src/Socialize.Api/Infrastructure/Configuration/WebsiteOptions.cs`
|
||||
|
||||
## Validation
|
||||
|
||||
```bash
|
||||
dotnet build backend/Socialize.slnx
|
||||
dotnet test backend/Socialize.slnx
|
||||
```
|
||||
Reference in New Issue
Block a user