KarlHeitmann / KarlHeitmann/survey_express_normal

Proteger que solo el usuario que emitió el mensaje pueda borrar el mensaje

Open
#8 1 comment 0 reactions 0 assignees View on GitHub
+2 +3 enhancement
Dominant language
Ruby
Stars
3
Forks
19
PR merge metrics
No merged PRs in 30d

Description

Esto está relacionado con la tarea #3 : botón para eliminar el mensaje.

Hay varias soluciones para esto, una de ellas es ocultar el botón de borrar el mensaje para todos los usuarios conectados que no sean el dueño del mensaje

- Más 2 puntos para el examen.

- Si es robusta la solución aportada (que no acepte por ningún motivo que alguien que no sea el usuario actual elimine el mensaje), entonces Más 3 puntos para el examen.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the related message-deletion task in issue #3 and the message deletion flow in this Ruby on Rails application. Determine where the current user and message owner are checked, then verify that both the UI behavior and the deletion request reject other users; the issue is done when unauthorized users cannot delete messages by any route.

Written by the indexing model from the issue text.

Assessment

Tech stack
rails, ruby
Domain
authorization, backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.