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

Description

Presents full profile information for a single user account and allows administrators to edit fields, change role assignments, or permanently remove the account. All edits are scoped to the current tenant and validated before submission. The page also exposes deactivation and reactivation controls.

Feature: User CRUD

user-detail-page

Sources & reasoning

Lines 325-328 explicitly place Brukeradministrasjon (invite, deactivate, role assignment) in the Admin Web Portal MVP scope. Without user CRUD the organization cannot onboard any peer mentors or coordinators, making the platform non-functional. It is the prerequisite for all other admin portal capabilities and directly referenced in the Phase 1 MVP deliverables.

  • docs/source/likeperson.md · line 325-328
    - Brukeradministrasjon (invitere, deaktivere, rolletildeling)

Responsibilities

  • Render editable profile form with current user data pre-populated
  • Submit profile updates through AdminUserService and surface validation errors
  • Provide deactivate/reactivate toggle with confirmation dialog
  • Provide permanent delete action with confirmation dialog
  • Display role assignments and allow role changes within tenant permissions

Interfaces

loadUser(userId): User
updateUser(userId, changes): User
deactivateUser(userId): void
deleteUser(userId): void
onBack(): void

Related Data Entities (2)

Data entities managed by this component