Skip to content

Improve Data Deletion Request Process #26

@beetle-ai

Description

@beetle-ai

ISSUE_NUMBER: GH-2

Description

The current data deletion request process relies on a mailto: link, which has limitations in terms of user input, potential security concerns, and lack of confirmation.
File: repositories/leadllyin/src/app/privacy-policy/page.tsx
Line: 5
Severity: medium

Current Behavior

The handleRequestDeletion function generates a mailto: link to pre-populate an email.

Expected Behavior

The data deletion request process should provide a better user experience with the ability to customize the request, provide confirmation, and address potential security concerns.

Suggested Fix

Implement a form within the privacy policy page that allows users to:

  1. Enter their name and email address.
  2. Add a custom message to the data deletion request.
  3. Receive a confirmation message upon submission.
    This form should then send the data deletion request to the support team via an API call.

Code Context

const handleRequestDeletion = () => {
window.location.href =
"mailto:support@leadlly.in?subject=Data Deletion Request&body=Dear Leadlly Edusolutions Support Team,%0D%0A%0D%0AI would like to request the deletion of all my personal data held by Leadlly Edusolutions as per your Privacy Policy.%0D%0A%0D%0APlease confirm the deletion process and notify me once it has been completed.%0D%0A%0D%0AThank you.%0D%0A%0D%0ARegards,%0D%0A[Your Name]";
};

Additional Notes

This change will improve the user experience and provide a more secure and reliable data deletion request process.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions