Closed shawonibnkamal closed 1 month ago
Please assign it to me
Hi @shawonibnkamal , I've implemented the changes to ensure anonymous thread submissions do not reveal the sender's name in email notifications. I haven't been able to test this thoroughly due to some local setup issues. Could you please review the changes and suggest any necessary adjustments?
PR: https://github.com/doclin-dev/doclin/pull/140
Thank you!
Hi @shawonibnkamal , I've implemented the changes to ensure anonymous thread submissions do not reveal the sender's name in email notifications. I haven't been able to test this thoroughly due to some local setup issues. Could you please review the changes and suggest any necessary adjustments?
PR: #140
Thank you!
Thanks! Left some comments on your PR. Can you share what local setup issues you are facing? I can help fix those and improve the documentation as needed.
Update the PR (https://github.com/doclin-dev/doclin/pull/140) with suggested changes . I am not able the test the api endpoint to test the functionality in local
Doclin allows user to submit threads anonymously.
When user tags someone's name in the thread, the tagged person receives an email notification. Currently, the email notification reveals the thread creators name which is a privacy breach.
Take a look at threadController.postThread. We need to pass in the anonymous check as an argument to sendMentionEmailNotification. Then use an condition to prevent senderName from revealing with the anonymous check is set to true.