Group archiving (hide from directory + restore)

Problem / Motivation

Archiving includes the Must Have story “Archive a Group” (retire inactive groups, retain data long-term).

Proposed resolution

  • Add an archived state to the Group.
  • Exclude archived Groups from the directory by default.
  • Provide an organizer/admin archive action and an admin restore (unarchive) action.

Acceptance criteria

  • Archived Groups do not appear in the directory by default.
  • Archived-group page behavior matches requirements (viewable-with-banner vs restricted — TBD).
  • Admin (and optionally organizer) can restore.

Pipeline

Suggested review-rigor: second-opinion. UI surface: archive/restore action + state indicator (Designer wireframe + UI walkthrough apply).

Source: DA-New Groups — MVP PRD (Google Doc). Target Drupal core version per the project's core-version decision (see #3578750).

Part of the MVP epic #3578778.


Proposed approach (reference — not yet decided)

A proposed approach for this exists in the D11 Migration docs (imported via !28 (merged)), reflecting an Open Social → standard Drupal conversion built on the contrib drupal/group module. Treat it as a reference proposal, not a decision — whether this project adopts that schema is still open (see the data-model decision in #3578779). See: Conversion Plan.

Edited by André Angelantoni