Password reset and disabling/deleting accounts #23

Closed
opened 2026-10-14 23:49:06 -04:00 by vmanne-poc · 0 comments
Owner

Follow-up to #15 / PR #22.

Gaps

  • No "forgot password": a user who forgets their password needs the administrator, and the administrator has no reset action either.
  • Accounts can't be disabled or deleted, so someone who leaves keeps access to every project they belong to.

Plan

  • Admin: disable/enable and delete accounts (PATCH/DELETE /users/:id); disabling bumps tokenVersion so sessions end immediately. Deleting must handle projects where they are the last owner.
  • Admin: set a temporary password for a user.
  • Self-service reset by email once a system sender is configured (User already has a Token model with password_reset purpose).
Follow-up to #15 / PR #22. **Gaps** - No "forgot password": a user who forgets their password needs the administrator, and the administrator has no reset action either. - Accounts can't be disabled or deleted, so someone who leaves keeps access to every project they belong to. **Plan** - Admin: disable/enable and delete accounts (`PATCH/DELETE /users/:id`); disabling bumps `tokenVersion` so sessions end immediately. Deleting must handle projects where they are the last owner. - Admin: set a temporary password for a user. - Self-service reset by email once a system sender is configured (`User` already has a `Token` model with `password_reset` purpose).
Sign in to join this conversation.
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
vmanne-poc/Postak#23
No description provided.