MemberAssociationPage
Component Detail
User Interface
medium complexity
frontend
0
Dependencies
0
Dependents
2
Entities
0
Integrations
Description
Admin interface for managing a user's association memberships. Displays current associations, allows adding or removing memberships, and provides controls for designating the primary association for activity attribution.
member-association-page
Sources & reasoning
Line 107 directly requires handling users in up to five local associations simultaneously with double-reporting prevention. This membership model is a prerequisite for the hierarchy roll-up and Bufdir attribution logic. Since NHF is a Phase 1 launch organization, and this data feeds the MVP reporting pipeline, it is classified MVP.
-
docs/source/likeperson.md · line 107Håndtering av medlemmer i flere lokallag (opptil 5): Avklare tilhørighet og hindre dobbeltrapportering.
Responsibilities
- Display all associations a user belongs to with membership status
- Allow admins to assign or remove a user from local associations (up to five)
- Provide primary association selector for default activity attribution
- Show validation feedback when membership limits are exceeded
Interfaces
loadUserMemberships(userId: string): void
assignAssociation(userId: string, associationId: string): void
removeAssociation(userId: string, associationId: string): void
setPrimaryAssociation(userId: string, associationId: string): void
Related Data Entities (2)
Data entities managed by this component