#218 Sender confirmation link can only be opened by the sender of the message
Closed: complete by alishapapun. Opened by shraddhaag.

Summary

Sender confirmation link can only be opened by the sender of the message

Background

Currently, the sender confirmation link can be opened by anyone, any user and even without any login. This shouldn't be the case as the sender of the message should only be able to confirm sending the packet.

Details

Steps to solution would be:
1. Making MessageSenderConfirmationView accessible to only logged in users by adding LoginRequiredMixin as well as specifying the login_url.
2. Checking if the logged-in user is actually the sender of the packet. If not, redirecting them display that they need to login with the sender of the message.

Outcome

Sender confirmation link is only accessible to the sender of the message


Metadata Update from @jflory7:
- Issue priority set to: waiting on assignee (was: awaiting triage)
- Issue tagged with: PASSED, difficulty - medium, new change, type - backend, type - summer coding

+1 for this. I noticed this for the first time today too. Since we have the authentication layer now, we can require authentication to view your sent and received messages.

hello @flory, if not one is working on this issue i would like to work on it

@saidat I suggest starting on a smaller task first before working on this issue. Ticket #72 could be done.

Metadata Update from @shraddhaag:
- Issue assigned to shraddhaag

Hi @jflory7! I've filed PR #231 to address this. I'd love to hear feedback when you find time :)

This issue can be closed! Good work @shraddhaag :)

@jflory7 I am closing it. Cheers :)

Metadata Update from @alishapapun:
- Issue close_status updated to: complete
- Issue status updated to: Closed (was: Open)

Metadata Update from @jflory7:
- Issue set to the milestone: Summer Coding 2019: phase 1

:raised_hands: :tada: :raised_hands: