Contributor title: an account made from a member's invite key can take the member's title

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

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

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

評価

難易度
3/5
見積もり時間
半日
初心者へのやさしさ
55/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
go

調査の方向性

Start with the operations sync that writes contributors.json and fills members[].accounts, then trace how /contributor here builds the member's group from that file — the contributor.go header comment describes the invite-key link you need to exclude. Compare that group-construction path against the OAuth sign-in records so you can tell an invite-linked account from a member-linked one. Done means the group only includes OAuth-linked accounts, plus a test asserting an invite-linked account gets ErrNotInGroup and a 404 from the website path.

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

説明

area: server bug priority: medium

The Contributor title (#3358, owner 2026-11-14 #3488) sits on one account per member, which the member can move "to another of their own". A member's group (contributors.json members[].accounts, written by the operations sync) holds every account linked to the member's Discord id. That includes accounts created from the member's invite keys (contributor.go header: "invite keys link any number of accounts to one Discord id").

An invite-made link is the key giver's Discord, not the player's (opensro-web#105, the account overview treats it as none). So a friend who signed up with the member's key is in the member's group, and can move the yellow title onto their own account: /contributor here in chat today, and the website's Carry it here once #3660 and web#154 land.

Fix

The group should hold only accounts linked by the member's own Discord sign-in (OAuth), not those linked through an invite key. That is the operations sync's input, plus a test that an invite-linked account gets ErrNotInGroup and answers 404 on the website.

主要言語
Go
スター
97
フォーク
61
平均マージ
4時間 14分
マージ済み PR(30日)
913

環境構築

はじめの一歩

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

opensro-dev/opensro のほかの issue

opensro-dev/opensro の issue をすべて見る

似ている issue

Go の issue をもっと見る

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

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