UserListPage
Component Detail
User Interface
medium complexity
frontend
0
Dependencies
0
Dependents
0
Entities
0
Integrations
Description
Paginated table view of all users within the current tenant, accessible to Org Admins and Global Admins (with active support grant). Displays user name, email, role, and activation status with inline action menus. Provides search and role-filter controls and links to individual user detail pages.
user-list-page
Sources & reasoning
Blueprint tags user-crud [MVP] and the Admin Web Portal MVP scope (lines 326, 329) explicitly lists brukeradministrasjon as a launch requirement and confirms Coordinators and Peer Mentors are managed records, not portal users. Target release is MVP per both the blueprint and the source doc's Admin Web Portal MVP section.
-
docs/source/likeperson.md · line 326Brukeradministrasjon (invitere, deaktivere, rolletildeling)
-
docs/source/likeperson.md · line 329Coordinators og Peer Mentors logger IKKE inn i admin-portalen; de forvaltes som datarecords (invitasjon, rolletildeling, deaktivering) av Org Admin.
Responsibilities
- Render paginated, filterable list of tenant users with role and status columns
- Surface inline actions (deactivate, delete, resend invite) per row based on caller's role
- Gate Global Admin access behind support-grant presence check before fetching data
- Emit navigation events to UserDetailPage and open InviteUserModal on demand
Interfaces
loadUsers(tenantId, page, filters): UserListResponse
onInviteClick(): void
onUserSelect(userId): void
onDeactivate(userId): Promise<void>