Let users edit or delete their own review

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

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

評価

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

調査の方向性

No files are named, so start from the existing review-posting route and the template that renders a review, since that is where the Edit and Delete controls belong. Read how the project already builds login-required, CSRF-protected POST routes and how the logged-in user is exposed to handlers, then reuse that pattern for the update and delete routes. Done means the buttons appear only on the viewer's own review, and the server rejects any request whose review id does not belong to the session user.

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

説明

backend frontend help wanted

Once posted, a review can't be changed.

  • Show Edit and Delete buttons on the user's own review
  • POST routes for both, CSRF-protected and login-required
  • Check on the server that the review belongs to the logged-in user. Never trust an id sent from the form.
主要言語
CSS
スター
1
フォーク
1
平均マージ
39分
マージ済み PR(30日)
6

環境構築

はじめの一歩

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

NotADIM2/GameVault のほかの issue

NotADIM2/GameVault の issue をすべて見る

似ている issue

Web Dev の issue をもっと見る

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

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