-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Labels
Description
Context: The Clinic Admin needs to add Doctors and Nurses to their system.
Location: apps/api/src/modules/users
Requirements:
POST /users(Create staff): Generates a random temporary password if none provided.GET /users: List all staff strictly scoped to thereq.user.clinicId.PATCH /users/:id/status: Deactivate a user (soft delete,isActive: false).
Acceptance Criteria:
- A Clinic Admin cannot query or modify users belonging to a different
clinicId. - Deactivated users are instantly rejected by the Auth login middleware.
Reactions are currently unavailable