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

Description

Displays a paginated, searchable table of all users within the administrator's tenant. Provides quick-access actions for inviting new users, viewing profiles, and deactivating accounts. Enforces tenant-scoped data so only the current organization's users are visible.

Feature: User CRUD

user-list-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 paginated list of tenant users with search and filter controls
  • Provide action buttons for invite, view, deactivate, and delete per row
  • Display user status indicators (active, invited, deactivated)
  • Trigger navigation to UserDetailPage or InviteUserPage on action
  • Show empty and loading states with appropriate feedback

Interfaces

loadUsers(tenantId, page, filters): UserPage
onInviteClick(): void
onUserSelect(userId): void
onDeactivate(userId): void

Related Data Entities (2)

Data entities managed by this component