Member
Purpose
A person on the network — a lawyer, a forensic accountant, a social worker. A member is identity and name, nothing more: their keys, their groups, and their live attachments associate elsewhere. The sub is the stable subject identifier the whole system knows the member by, assigned at enrolment and never reused.
Attributes
- sub: is
Textthat carries the member's subject identifier, such as "anne.bruun" - display name: is
Textthat carries the name fellow members see, such as "Anne Bruun"
Invariants
- Neither the sub nor the display name is empty.
Scenarios
A member is identity and name
Given: sub "anne.bruun" and display name "Anne Bruun" When: a Member is created Then: it is accepted and reads back with sub "anne.bruun" and display name "Anne Bruun"
A member without a sub is rejected
Given: an empty sub and display name "Anne Bruun" When: a Member is created Then: the creation is rejected because the sub is empty