Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#1027 Restrict Sensntive Data Exposure via API Call #1036

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

agarabhishek
Copy link
Collaborator

The GET api/team API shows team information for Democracy Lab members on the page: https://www.democracylab.org/about. The API exposed sensitive volunteer data like application test, joining date, isCoOwner, etc. These fields are not displayed/used on the front-end but are still returned as a part of the API response.

This fix creates a new structure called VolunteerMinimalDetailsAPIData that contains only the required information about every volunteer. This new structure is integrated into ProjectDetailsAPIData structure.

Closes Issue: #1027

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant