Let users edit or delete their own review
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 66/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- css
- Ambito
- full-stack
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- CSS
- Stelle
- 1
- Fork
- 1
- Merge medio
- 39m
- PR unite (30g)
- 6
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di NotADIM2/GameVault
-
Deployment guideApertadocumentation help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
-
frontend help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
Share button on game pagesApertafrontend good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
-
Add a faviconApertafrontend good first issue
Difficoltà 1/5 1-3 ore Idoneità per principianti 85/100
-
frontend good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 80/100
Tutte le issue di NotADIM2/GameVault
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
ida-arbeitszeit/workers-control#1578 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
open-webui/tether#52 ·
I maintainer di solito rispondono entro 1 giorno
-
Bug: Table layout and date column are cut off on mobile screens on the Tournaments -> History pageApertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
hexlet-codebattle/codebattle#2375 ·