Delete User Functionality

JIRA ID: LR-683

Overview

Google Play's policy mandates the inclusion of functionality that permits users to request account deletion. This enhances transparency and gives users control over personal data, simultaneously allowing developers to demonstrate their commitment to responsible data handling.

What's changing for you?

New adopter: No changes

For new adopters, version 7.0.0 of the release package introduces this functionality.

Using older versions of Sunbird ED?

If you are using older versions of Sunbird ED, you must implement the delete user functionality in your app version.

Workflow

Let's understand the general workflow for user account deletion, which is consistent across both portal and mobile platforms.

  1. Log in to your account using your credentials.

  2. Click the user profile icon and select the Profile option from the menu.

  3. Click the Delete Account button from the profile page.

  4. Check all the Terms and Conditions checkboxes. This will confirm that you understand all the consequences of account deletion.

  5. Click the Delete Account button.

  6. Enter the OTP sent to your registered email address or mobile number and click the Delete account button to proceed.

Once the account is deleted, users will be logged out of the app.

Detailed workflows of:

  • Deletion of your account is irreversible and may lead to permanent data loss. Please proceed with utmost caution.

  • Before proceeding with the deletion process, ensure you have retrieved any important information or data associated with your account.

Backend changes

When the account deletion is initiated, two primary actions take place in the backend:

  1. The user's Personal Identifiable Information (PII) needs to be removed.

  2. The assets (like questions, content, etc.) created by this user must be transferred to an identified user - a feature coming in release 8.0.0

The modifications to the back-end infrastructure are facilitated by three building blocks:

Lern

Inquiry

Knowlg

Note: The job works for all object types (including Question, QuestionSet, Content, Collection, Assets) which are configured to the job.

Variable Name: user_pii_target_object_types

Description: Target Object Type and Schema Version should be configured as value.

Example: If you want to process 5 different objects for deleted user, then all 5 object types should be part of this configuration along with corresponding schema versions.

Default Value:

{ \"Question\": [\"1.0\", \"1.1\"], \"QuestionSet\": [\"1.0\", \"1.1\"], \"Asset\": [\"1.0\"], \"Content\": [\"1.0\"], \"Collection\": [\"1.0\"] }

Code changes

Once your back-end changes are up and running, the following code changes are required to integrate the delete user functionality into the existing code of your application:

Note: The provided code serves as a reference and should be customised to meet your specific requirements.

Portal documentation

Mobile app documentation

Last updated