Overview
The user deletion requirement in inQuiry has been originated from the below requirement.
PRD: [PRD] Delete Account functionality
BE Design Lern - [Design] Delete Account Functionality
FE Design Lern - /wiki/spaces/SUN/pages/3359146039
What is changing?
The user can request for deletion of their account in Sunbird, this means two primary actions to happen.
User's Personal Identifiable Information (PII) needs to be removed
The assets (like questions, questionSets, content etc) that was created by this user needs to be transferred to an identified user.
Scope for inQuiry
Inquiry in its question bank stores the users name and id as part of question and questionSet meta data.
Apart from the User Name, there is no other identifiable information of the user that is stored in the inQuiry data stores.
The user name is stored in the data stores as below,
Neo4J
Elastic Search
Changes in inQuiry
The below two events will be flowing into inquiry as messages which originated from the Lern system.
No API changes required inQuiry
New Kafka message consumers to be created to consume these 2 events (Gauraw Kumar - please fill in the details of Flink jobs)
In case of User Deletion,
The user name needs to be cleared out with a static default name (Deleted User). Refer
The User Name is stored in the below attributes,
creator
author
publisher
owner
The User Id (UUID) is stored in the below fields, this will be left as is.
createdBy
lastPublishedBy
lastUpdatedBy
lastSubmittedBy
Info |
---|
createdFor is an attribute that stores the organisation name. It is confirmed that the users in the scope of inQuiry, i.e; creator or reviewer, will always have an organisation. |