Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

mtg: Admin Rename with Rename reason, Admin log entry and mail

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

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
48/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
typescript

調査の方向性

Start by reading services/mtg/GLOSSARY.md for the Rename and Admin log concepts, then trace the existing Self-Rename issue (#136) and the admin account page and endpoint. Map the endpoint, admin log, mail-gateway, HTTP tests, API spec generation, and i18n entry points. Done when all listed acceptance criteria pass, including locked accounts and refusing self-renames through the admin endpoint.

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

説明

ready-for-agent

What to build

An Admin Renames another Account from the Account's page in the admin dashboard (see Rename, Admin log in services/mtg/GLOSSARY.md).

  • Same username rules and uniqueness check as the Self-Rename (#136).
  • A Rename reason is required and seen only by Admins.
  • Locked Accounts can be Renamed by an Admin.
  • Every Admin Rename writes one Admin log entry: acting Admin, affected Account's old username, the new username, when, and the reason. The admin log table shows it.
  • The Account is mailed its new username (without the reason) through the mail-gateway, since Login and recovery both need the username. This deliberately differs from Lock, which sends no mail.
  • The admin dashboard hides the action on the Admin's own Account and the backend refuses it there; Admins Rename themselves through the Self-Rename.
  • No rename cli subcommand.

Acceptance criteria

  • Admin Renames another Account, including a locked one; the Account can log in with the new username
  • Missing reason is refused
  • Taken or invalid username is refused
  • Admin log entry records old and new username and the reason; shown in the admin log table
  • Mail with the new username goes to the Account's email, without the reason
  • Rename of the Admin's own Account via the admin endpoint is refused; the UI hides the action there
  • Non-Admins cannot use the endpoint
  • Migration for the new Admin log action committed; HTTP tests cover the cases above; API spec and client regenerated; i18n keys added
主要言語
TypeScript
スター
0
フォーク
1
平均マージ
11時間 20分
マージ済み PR(30日)
31

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

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

myOmikron/code のほかの issue

myOmikron/code の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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