Bug: Unauthenticated user can join another guest game via URL and edit their code
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 55/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- elixir
調査の方向性
Reproduce the issue using two incognito windows and the shared game URL, then trace how an unauthenticated visitor is admitted to the guest game and given editor access. Done means the second user is either prevented from joining or remains a spectator with the other player's editor read-only.
索引モデルが issue の本文から書いたものです。
説明
Summary
An unauthenticated user can open another guest's Simple Battle by changing the game id in the URL and edit that player's code
Reproduction steps
1. Go to https://codebattle.hexlet.io/ in an incognito window (User A, not logged in)
2. Click "Try simple battle"
3. Copy the game URL (example: https://codebattle.hexlet.io/games/XXXXXX)
4. Open second incognito window (User B, not logged in)
5. Paste the same URL
6. Click at User A editor and type any text
Expected result
User B should be spectator only, or should not join a guest's game at all. The editor must stay read-only
Actual result
User B joins the game as a participant and can change user A code
Browsers
Firefox
OS
Windows
Current version
05f8883
- 主要言語
- Elixir
- スター
- 887
- フォーク
- 237
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
hexlet-codebattle/codebattle のほかの issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
hexlet-codebattle/codebattle#2361 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
hexlet-codebattle/codebattle#2355 ·
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
hexlet-codebattle/codebattle#2360 ·
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 56/100
hexlet-codebattle/codebattle#2359 ·
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 52/100
hexlet-codebattle/codebattle#2358 ·
hexlet-codebattle/codebattle の issue をすべて見る
似ている issue
-
Support `:max_channels_per_transport` configuration for the LiveView socket対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
phoenixframework/phoenix_live_view#4469 ·
メンテナーはふだん 1 日以内に返信
-
L: github:actions L: php:composer
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
dependabot/dependabot-core#16493 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
wintermeyer/vutuv#2364 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
carverauto/serviceradar#5470 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信