PII User Consent Data Extraction for ML #54
Unanswered
Shakthieshwari
asked this question in
Query
Replies: 1 comment 13 replies
-
@reshmi-nair @amit-tarento please help us out on this Thanks |
Beta Was this translation helpful? Give feedback.
13 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi @reshmi-nair @amit-tarento ,
As part of 5.2 release, In the Manage Learn we are enabling PII Consent at the program Level for the users. So If user select share in the PII Consent, then we need to provide the User Level Data(user name, email, mobile no ...) in the form of CSV to the Program Manager users in the program dashboard.
Jira Ticket :- https://project-sunbird.atlassian.net/browse/ED-543, https://project-sunbird.atlassian.net/browse/ED-433
CSV Data Format :- https://docs.google.com/spreadsheets/d/1aipO6Lp9bmB3v_iHQROM-6FI7ixRlXHdQ8uDtu6cHco/edit?usp=sharing
At the time of submission, our backend captures the userProfile data and push into kafka as a events/store into mongodb. From this userProfile data, we need to know how do we decrypt these data columns :-
Do we have any existing components/services where we can extract these data ? how do we decrypt the data columns ?
Attaching below the sample data :-
{ "webPages" : null, "maskedPhone" : null, "tcStatus" : null, "loginId" : null, "subject" : null, "channel" : "dikshapreprodcustodian", "profileUserTypes" : [ { "type" : "teacher" } ], "language" : null, "updatedDate" : "2021-02-18 09:43:09:635+0000", "password" : null, "managedBy" : null, "flagsValue" : 0, "id" : "e85060c8-a76b-4e79-a36b-95836491baf9", "recoveryEmail" : "er***@yopmail.com", "identifier" : "e85060c8-a76b-4e79-a36b-95836491baf9", "thumbnail" : null, "profileVisibility" : null, "updatedBy" : "e85060c8-a76b-4e79-a36b-95836491baf9", "accesscode" : null, "externalIds" : [], "registryId" : null, "roleList" : [ { "name" : "Book Creator", "id" : "BOOK_CREATOR" }, { "name" : "Membership Management", "id" : "MEMBERSHIP_MANAGEMENT" }, { "name" : "Flag Reviewer", "id" : "FLAG_REVIEWER" }, { "name" : "Report Viewer", "id" : "REPORT_VIEWER" }, { "name" : "Program Manager", "id" : "PROGRAM_MANAGER" }, { "name" : "Program Designer", "id" : "PROGRAM_DESIGNER" }, { "name" : "System Administration", "id" : "SYSTEM_ADMINISTRATION" }, { "name" : "Content Curation", "id" : "CONTENT_CURATION" }, { "name" : "Book Reviewer", "id" : "BOOK_REVIEWER" }, { "name" : "Content Creator", "id" : "CONTENT_CREATOR" }, { "name" : "Org Management", "id" : "ORG_MANAGEMENT" }, { "name" : "Course Admin", "id" : "COURSE_ADMIN" }, { "name" : "Org Moderator", "id" : "ORG_MODERATOR" }, { "name" : "Public", "id" : "PUBLIC" }, { "name" : "Admin", "id" : "ADMIN" }, { "name" : "Course Mentor", "id" : "COURSE_MENTOR" }, { "name" : "Content Reviewer", "id" : "CONTENT_REVIEWER" }, { "name" : "Report Admin", "id" : "REPORT_ADMIN" }, { "name" : "Org Admin", "id" : "ORG_ADMIN" } ], "rootOrgId" : "0126796199493140480", "prevUsedEmail" : "le*@yopmail.com", "firstName" : "Lea", "tncAcceptedOn" : 1612153339245.0, "allTncAccepted" : { "groupsTnc" : { "tncAcceptedOn" : "2021-02-04 07:18:40:389+0000", "version" : "3.5.0" } }, "profileDetails" : null, "phone" : "", "dob" : null, "grade" : null, "currentLoginTime" : null, "userType" : "teacher", "status" : 1, "lastName" : "", "tncLatestVersion" : "v12", "gender" : null, "prevUsedPhone" : "", "stateValidated" : false, "encEmail" : null, "isDeleted" : false, "organisations" : [ { "organisationId" : "0126796199493140480", "approvedBy" : null, "channel" : "dikshapreprodcustodian", "updatedDate" : null, "approvaldate" : null, "isSystemUpload" : false, "isDeleted" : false, "id" : "01320676218927513612", "isApproved" : null, "orgjoindate" : "2021-02-01 04:22:10:020+0000", "isSelfDeclaration" : true, "updatedBy" : null, "orgName" : "Staging Custodian Organization", "addedByName" : null, "addedBy" : null, "associationType" : 2, "locationIds" : [ "027f81d8-0a2c-4fc6-96ac-59fe4cea3abf", "8250d58d-f1a2-4397-bfd3-b2e688ba7141" ], "orgLocation" : [ { "type" : "state", "id" : "027f81d8-0a2c-4fc6-96ac-59fe4cea3abf" }, { "type" : "district", "id" : "8250d58d-f1a2-4397-bfd3-b2e688ba7141" } ], "externalId" : "101010", "userId" : "e85060c8-a76b-4e79-a36b-95836491baf9", "isSchool" : false, "hashTagId" : "0126796199493140480", "isSSO" : false, "isRejected" : null, "locations" : [ { "code" : "29", "name" : "Karnataka", "id" : "027f81d8-0a2c-4fc6-96ac-59fe4cea3abf", "type" : "state", "parentId" : null }, { "code" : "2901", "name" : "BELAGAVI", "id" : "8250d58d-f1a2-4397-bfd3-b2e688ba7141", "type" : "district", "parentId" : "027f81d8-0a2c-4fc6-96ac-59fe4cea3abf" } ], "position" : null, "orgLeftDate" : null } ], "provider" : null, "countryCode" : "+91", "tncLatestVersionUrl" : "https://sunbirdstagingpublic.blob.core.windows.net/termsandcondtions/terms-and-conditions-v12.html", "maskedEmail" : null, "tempPassword" : null, "email" : "", "rootOrg" : { "dateTime" : null, "preferredLanguage" : null, "keys" : {}, "organisationSubType" : null, "channel" : "dikshapreprodcustodian", "approvedBy" : null, "description" : "Pre-prod Custodian Organization", "updatedDate" : "2022-02-18 09:50:42:752+0000", "organisationType" : 5, "addressId" : null, "orgType" : null, "isTenant" : true, "provider" : null, "locationId" : null, "orgCode" : null, "theme" : null, "id" : "0126796199493140480", "communityId" : null, "isApproved" : null, "isBoard" : true, "email" : null, "slug" : "dikshapreprodcustodian", "isSSOEnabled" : null, "thumbnail" : null, "orgName" : "Staging Custodian Organization", "updatedBy" : null, "locationIds" : [ "027f81d8-0a2c-4fc6-96ac-59fe4cea3abf", "8250d58d-f1a2-4397-bfd3-b2e688ba7141" ], "externalId" : "101010", "orgLocation" : [ { "type" : "state", "id" : "027f81d8-0a2c-4fc6-96ac-59fe4cea3abf" }, { "type" : "district", "id" : "8250d58d-f1a2-4397-bfd3-b2e688ba7141" } ], "isRootOrg" : true, "rootOrgId" : "0126796199493140480", "imgUrl" : null, "approvedDate" : null, "homeUrl" : null, "orgTypeId" : null, "isDefault" : null, "createdDate" : "2019-01-18 09:48:13:428+0000", "createdBy" : "system", "parentOrgId" : null, "hashTagId" : "0126796199493140480", "noOfMembers" : null, "status" : 1 }, "phoneVerified" : true, "profileSummary" : null, "tcUpdatedDate" : null, "userLocations" : [ { "code" : "2822", "name" : "ANANTAPUR", "id" : "2f76dcf5-e43b-4f71-a3f2-c8f19e1fce03", "type" : "district", "parentId" : "bc75cc99-9205-463e-a722-5326857838f8" }, { "code" : "282262", "name" : "AGALI", "id" : "966c3be4-c125-467d-aaff-1eb1cd525923", "type" : "block", "parentId" : "2f76dcf5-e43b-4f71-a3f2-c8f19e1fce03" }, { "code" : "28", "name" : "Andhra Pradesh", "id" : "bc75cc99-9205-463e-a722-5326857838f8", "type" : "state", "parentId" : null } ], "recoveryPhone" : "", "avatar" : null, "userName" : "lea_nw2m", "userId" : "e85060c8-a76b-4e79-a36b-95836491baf9", "userSubType" : null, "declarations" : [ { "persona" : "default", "errorType" : null, "orgId" : "1269934121990553633", "status" : "SUBMITTED", "info" : { "declared-email" : "[email protected]", "declared-phone" : "9611609631", "declared-school-name" : "APMS AGALI", "declared-school-udise-code" : "28226200815" } }, { "persona" : "default", "errorType" : null, "orgId" : "do_21311761957152358411670", "status" : null, "info" : {} }, { "persona" : "default", "errorType" : null, "orgId" : "do_2131976657413980161102", "status" : null, "info" : {} }, { "persona" : "default", "errorType" : null, "orgId" : "do_2132119550705909761228", "status" : null, "info" : {} }, { "persona" : "default", "errorType" : null, "orgId" : "do_2132124484162600961245", "status" : null, "info" : {} } ], "promptTnC" : true, "emailVerified" : true, "lastLoginTime" : 0, "createdDate" : "2021-02-01 04:22:09:963+0000", "framework" : { "board" : [ "State (Uttar Pradesh)" ], "id" : [ "up_k-12" ] }, "createdBy" : null, "profileUserType" : { "type" : "teacher" }, "encPhone" : null, "location" : null, "tncAcceptedVersion" : "3.5.0" }
Please do help us out on this...
Cc- @aishwaryashikshalokam @Prateek-slokam @aks30 @vijiurs @kiranharidas187
Beta Was this translation helpful? Give feedback.
All reactions