Skip to content

CAP-MBR-STR-007Describe a unit’s dated relationships with organizations

Markdown

CAP-MBR-STR-007

Describe a unit’s dated relationships with organizations

Markdown
  • DocumentDraft
  • Product intentProposed
  • ImplementationObserved

KindCapabilityProduct areaMembershipModuleOrganizational Structure, Membership Configuration and TermsRevision1

Read atservices-membership 5994c270react-console baf6dae3

The Formal Contract

The narrative above explains; the sections below are authoritative — the rules, scenarios and tests this document binds.

Outcomes
Organizational relationships retain dates and a recognizable purpose.Legal-entity periods avoid simultaneous conflicting organizations.
Surfaces
api

Controls

37 controls apply, from the corpus control catalogue.

TC-AVL-002 TC-AVL-003 TC-AZ-001 TC-AZ-002 TC-AZ-003 TC-AZ-004 TC-AZ-005 TC-AZ-006 TC-CHG-001 TC-CHG-002 TC-CHG-003 TC-CHG-004 TC-CRY-001 TC-CRY-002 TC-CRY-003 TC-DAT-001 TC-DAT-002 TC-DAT-003 TC-DAT-007 TC-IAM-001 TC-IAM-002 TC-IAM-004 TC-IAM-005 TC-LOG-002 TC-LOG-003 TC-LOG-004 TC-LOG-005 TC-PI-001 TC-PI-003 TC-PI-005 TC-PRV-001 TC-PRV-002 TC-SEC-001 TC-SEC-004 TC-TEN-001 TC-TEN-002 TC-TEN-003

Permissions

KeyChecked atScope
membership.structure.readapitenant
membership.structure.manageapitenant
membership.application.accessapitenant

Business Rules

10 rules, 7 to be proved before approval. A rule's product intent is derived from its origin: 0 confirmed by a product decision, the rest inheriting this capability's proposed.

IdRuleKindEnforced atProvenance
01must prove
Proposed
An organization link includes an organization reference, a known workspace relationship kind and a start date, with optional end and notes.
validationapi, serviceobserved
02must prove
Proposed
An organization relationship cannot finish before its start date.
validationservice, databaseobserved
03must prove
Proposed
Legal-entity periods for one unit cannot overlap or have two open periods; other relationship kinds permit overlap.
invariantservice, databasetest
services-membership:tests/e2e/structure-api.e2e.spec.ts#the structure API, end to end in process › refuses a second open legal entity, 409 legal_entity_already_open
04must prove
Proposed
Ending a link retains its history and may repeat or shorten the end date, but cannot extend it or edit other link details.
lifecycleserviceobserved
05
Proposed
The organization reference accepts 1–100 characters without checking that CRM contains the organization.
validationapiobserved
06must prove
Proposed
Additional relationship kinds use supplied or name-derived identifiers and reject duplicate identifiers within the workspace.
validationservicetest
services-membership:tests/e2e/structure-api.e2e.spec.ts#the structure API, end to end in process › creates a relationship type with an id derived from its name
07must prove
Proposed
Relationship kinds have no rename, retirement or deletion operation, and an inactive kind still accepts links.
policyapi, serviceobserved
08
Proposed
Organization links can be added to inactive and merged units.
policyserviceobserved
09must prove
Proposed
Link changes retain versions identifying the actor.
invariantdatabasedocumented
10
Proposed
Link creation has no repeat-request recognition, allowing duplicate non-legal-entity links.
policyservicedocumented

Scenarios

IdGivenWhenThenProvenance
01Atlanta becomes incorporated at the beginning of 2024.Staff record Atlanta Chapter Inc. as legal entity from incorporation.The dated relationship begins in 2024 without identifying a legal entity for the preceding period.test
services-membership:tests/acceptance/structure/MBR-ACC-0021.acceptance.ts#MBR-ACC-0021 scenario 11: Atlanta Chapter's incorporation, linked with dates

Edge Cases

IdGivenWhenThenProvenance
02A client does not receive its first organization-link response.It repeats the same operating-organization creation.The service records a second equivalent link.documented

The Markdown files under specs/ in rhythmsoftware/rhythm-v2-docs are the canonical source of truth. This reader is a generated, read-only projection of them.