Skip to content

JNY-MBR-STR-004Prepare a program and enrol its first member

Markdown

JNY-MBR-STR-004

Prepare a program and enrol its first member

Markdown
  • DocumentDraft
  • Product intentProposed
  • ImplementationObserved

KindJourneyProduct areaMembershipModuleOrganizational Structure, Membership Configuration and TermsRevision1End-to-endOptional

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.

Goal
Configure a membership context and offering, then exercise them through a first enrolment.

Steps

#SurfaceActionCapabilityExpectedProvenance
1createProgramSave National with affiliation-based unit binding.CAP-MBR-STR-009The program receives its readable reference.test
services-membership:tests/acceptance/configuration/MBR-ACC-0080.acceptance.ts#MBR-ACC-0080: An administrator builds an association's membership configuration from nothing and a first member is enrolled on it
2replaceProgramUnitTypesConfigure bounded chapter counts and unrestricted section counts.CAP-MBR-STR-010The program returns both category requirements.test
services-membership:tests/acceptance/configuration/MBR-ACC-0080.acceptance.ts#MBR-ACC-0080: An administrator builds an association's membership configuration from nothing and a first member is enrolled on it
3createMembershipTypeSave Student and Regular classifications under National.CAP-MBR-STR-011Both classifications identify that program.test
services-membership:tests/acceptance/configuration/MBR-ACC-0080.acceptance.ts#MBR-ACC-0080: An administrator builds an association's membership configuration from nothing and a first member is enrolled on it
4createMembershipPackageExtend the prepared Regular Annual product with an annual anniversary rule.CAP-MBR-STR-012The package returns Accounting’s shared product information.test
services-membership:tests/acceptance/configuration/MBR-ACC-0080.acceptance.ts#MBR-ACC-0080: An administrator builds an association's membership configuration from nothing and a first member is enrolled on it
5createStatusReasonSave the intended termination and cancellation explanations.CAP-MBR-STR-017Each reason retains its selected action category.test
services-membership:tests/acceptance/configuration/MBR-ACC-0080.acceptance.ts#MBR-ACC-0080: An administrator builds an association's membership configuration from nothing and a first member is enrolled on it
6createMembershipEstablish the first Regular Annual holding.CAP-MBR-STR-015The term dates follow the selected offering rule.test
services-membership:tests/acceptance/configuration/MBR-ACC-0080.acceptance.ts#MBR-ACC-0080: An administrator builds an association's membership configuration from nothing and a first member is enrolled on it

Alternate and Failure Paths

PathFrom stepConditionPath takenOutcomeProvenance
alternate4Accounting has no product corresponding to the proposed offering.Extension creation fails.Staff prepare the Accounting product before creating its package.test
services-membership:tests/e2e/packages-as-products.e2e.spec.ts#packages as products, through the API › refuses a package whose product Accounting does not have, 400
failure2Two editors update the same stored program version.The later request fails its version comparison.The second editor reloads and reconciles the accepted change.test
services-membership:tests/acceptance/configuration/MBR-ACC-0084.acceptance.ts#MBR-ACC-0084: Two administrators edit the Regular package at the same time: the first save wins, the second is told to re-read, and the grants she re-sends get new ids

Assertions

IdStatementProvenance
01Newly created configuration examples can be read under their assigned references.test
services-membership:tests/acceptance/configuration/MBR-ACC-0080.acceptance.ts#MBR-ACC-0080: An administrator builds an association's membership configuration from nothing and a first member is enrolled on it
02Creating the extension from an absent Accounting product is rejected.test
services-membership:tests/e2e/packages-as-products.e2e.spec.ts#packages as products, through the API › refuses a package whose product Accounting does not have, 400

End-to-end policy: optional: Configuration acceptance runs exercise these API steps manually. The product should add browser coverage when administration screens make this setup workflow available.

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.