User Interface medium complexity frontend
0
Dependencies
0
Dependents
2
Entities
0
Integrations

Description

Detail and edit view for a single user record within the Admin Web Portal. Allows the Organization Admin to update user attributes, change roles, deactivate or reactivate accounts, and resend onboarding invitations.

Feature: User CRUD

user-edit-page

Sources & reasoning

Source explicitly lists User CRUD as a feature of admin-user-management and as MVP scope for the Admin Web Portal. Coordinators/peer mentors are provisioned exclusively here, making CRUD the operational entry point for every other admin workflow.

  • Admin Web Portal (MVP scope): - Brukeradministrasjon (invitere, deaktivere, rolletildeling)
  • admin-user-management | User Management | User CRUD, Role Assignment, Bulk Actions
  • Coordinators and Peer Mentors are **managed** inside the admin portal (invitations, role assignment, deactivation) but never log in to it

Responsibilities

  • Display full user profile and account status
  • Edit user name, email, and role assignments
  • Trigger deactivate and reactivate actions with confirmation
  • Resend invitation email for pending users
  • Surface validation errors from the management service

Interfaces

loadUser(userId): UserDetail
saveUser(userId, changes): UserDetail
deactivateUser(userId): void
reactivateUser(userId): void
resendInvitation(userId): void

Related Data Entities (2)

Data entities managed by this component