Organizer membership management UI + roles

Problem / Motivation

Add/remove members and manage roles/permissions are Must Have; a site-level “Groups Moderate” capability is Should Have.

Updated 2026-07-22: foundation is the Group module (drupal/group) per André — group entities + group permission mechanism + customized Group membership relationship; OG still excluded.

Proposed resolution

Provide a group Manage members tab (organizer/admin only), operating on the Group membership relationship (#3578784):

  • List members with status; add member via username/email autocomplete; remove member.
  • Change status/role (Member ↔️ Organizer ↔️ Moderator).
  • Approve/deny pending join requests (request-to-join policy).

The roles are Group roles (Organizer, Moderator, Member) managed through Group's membership relationship. The site-level Groups Moderate capability is a global permission/role that lets drupal.org admins administer any Group's membership/settings without being a member.

Acceptance criteria

  • Organizers can add/remove and change the status of members.
  • Pending requests can be approved/denied.
  • Groups Moderate role can manage any Group without being a member.

Pipeline

Suggested review-rigor: panel — privilege escalation / role-assignment is high-stakes. UI surface: Manage-members admin table (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: Architecture Differences.

Edited by André Angelantoni