saayam-for-all / volunteer

This repo contains all user (basic users and volunteers) related code
0 stars 1 forks source link

Support CRUD operations for Saayam users #2

Open RaoBhethanabotla opened 1 year ago

RaoBhethanabotla commented 1 year ago

We have two types of users in Saayam. All users that register with Saayam are basic users. When basic users want to become volunteer users to help the requestors of help. they need to go through the promotion process. Only volunteer users are authorized to work with requestors of help.

When any user registers with Saayam, first Cognito does the basic work of collecting user credentials and confirming the user. Then Cognito will invoke a Lambda function to request Volunteer micro service to store the additional information in our database. This means that our frontend page needs to collect all additional information like preferred language, address etc that may NOT be stored in Cognito. Our database does NOT store any credential information. It only stores the additional information.

To respect GDPR rules, all PII date of Europeans will be stored in EU based data instance and all non-EU user info will be stored in USA based database instance.