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

Description

Displays and manages membership records between users and organizational units in the hierarchy. Org Admins can view rosters, create or remove memberships, set primary organization nodes, and initiate bulk operations or invitation flows from this page.

Feature: Member Associations

member-association-page

Sources & reasoning

The invitation and membership management model is described as a core admin portal capability (line 186-189), and NHF's multi-branch membership problem (line 107) requires explicit membership association management to prevent double-reporting. Blueprint assigns MVP, consistent with admin portal MVP scope for user management and org settings.

  • Håndtering av medlemmer i flere lokallag (opptil 5): Avklare tilhørighet og hindre dobbeltrapportering.
  • Coordinators and Peer Mentors are **managed** inside the admin portal (invitations, role assignment, deactivation) but never log in to it - they only log in to the Mobile App.

Responsibilities

  • Render paginated membership roster with filtering by org node and role
  • Provide forms for creating, editing, and removing individual membership records
  • Expose bulk selection and bulk-action controls for roster management
  • Display and allow editing of a user's primary organization node for reporting attribution
  • Trigger the invitation flow UI for bringing new users into an organization

Interfaces

loadMemberships(orgNodeId, filters): MembershipRecord[]
createMembership(userId, orgNodeId, roleId): MembershipRecord
updatePrimaryNode(userId, orgNodeId): MembershipRecord
removeMembership(membershipId): void
bulkAssign(userIds, orgNodeId, roleId): BulkResult
openInviteFlow(orgNodeId): void