feat(admin): groups — working, affinity, regional

オープン
#1,960 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
静か

調査の方向性

Begin with Foundation (#1956), then read the existing groups schema, group_memberships role enum, and the policy entry points named in the issue. Draft the design under docs/superpowers/specs/ before tracing /admin/groups and /admin/groups/:id. Done means the listed staff/chair controls work and the /about/groups/* pages render published edits.

索引モデルが issue の本文から書いたものです。

説明

Summary

Lifecycle management for the three group flavors (working / affinity / regional). Group chairs get a scoped admin surface: they can edit only the group(s) they chair; staff sees the global list.

Requirements

  • Brainstorming → spec under docs/superpowers/specs/.
  • /admin/groups — global list (staff+); chairs see only their groups.
  • /admin/groups/:id — group page editor (description, charter, links), chair / co-chair assignment UI, member roster with role display, archive / reopen action.
  • Chair assignment: add / remove group_memberships rows with role: chair | co_chair. Adding makes the assigned user an admin (per the actor-context recompute on next request).
  • Public surface: existing /about/groups/* pages should render edited content once published.

Context

Foundation must ship first (#1956). Schema: groups, group_memberships, group_membership_role enum already in place from earlier work.

Implementation Notes

  • Policy: canEditGroup(actor, { groupId }) — staff+ OR chairedGroupIds.has(groupId).
  • This is the first subsystem where the distributed-admin pattern gets exercised; it'll be the proving ground for requirePolicy with scoped checks.
主要言語
HTML
スター
33
フォーク
107
平均マージ
14時間 6分
マージ済み PR(30日)
19

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

USRSE/usrse.github.io のほかの issue

USRSE/usrse.github.io の issue をすべて見る

似ている issue

Security の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。