- Fix issue with
createdAt
date being incorrect for v2 user data. - Fix issue where user data would not be associated the expected user id.
- Add
/v2
endpoints.
- Migrate to TypeScript.
- Add feature flag to disable Salesforce integration.
- Add communication with the Salesforce connector service after submission of MyGFW user profiles.
- Update
rw-api-microservice-node
to remove CT integration support.
- Update
rw-api-microservice-node
to add CORS support. - Remove dependency on CT's
authenticated
functionality - Replace CT integration library
- Update k8s configuration with node affinity.
- Added extra fields to the user router, model, and serializer:
- firstName
- lastName
- primaryResponsibilities
- subsector
- jobTitle
- company
- aoiCountry
- aoiState
- aoiCity
- interests
- signUpToNewsletter
- topics.
- Adds test coverage based on the (removed) v2 tests.
- Sending userData with the new fields saves them
- Sending userData with the new fields saves them.
- Remove google sheets integration.
- Substantial error handling and permissions refactor:
- Getting all users without being authenticated now returns a 401 'Unauthorized' error.
- Getting all users while being authenticated as USER or MANAGER now returns a 403 'Forbidden' error.
- Getting a user by id is only allowed for the user itself, ADMIN or MICROSERVICE users.
- Getting a user by id without being authenticated now returns a 401 'Unauthorized' error.
- Getting a user by id while being authenticated as a different now returns a 403 'Forbidden' error.
- Getting a user by its old is only allowed for the user itself, ADMIN or MICROSERVICE users.
- Getting a user by its old id without being authenticated now returns a 401 'Unauthorized' error.
- Getting a user by its old id while being authenticated as a different now returns a 403 'Forbidden' error.
- Getting stories while not being logged in now returns a 401 'Unauthorized' error.
- Getting stories while the remote microservice is unavailable now returns a 503 'Stories temporarily unavailable' error.
- Getting all users while not being authenticated now returns a 401 'Unauthorized' error.
- Getting all users while being authenticated as a USER or MANAGER now returns a 'Forbidden' error message
- Creating a user without being logged in now returns a 401 'Unauthorized' error.
- Attempting to create a user that already exists now returns a 400 'Duplicate user' error.
- Updating a user without being logged in now returns a 401 'Unauthorized' error.
- Updating a user while being logged in as a different user now returns a 403 'Forbidden' error.
- Deleting a user while not being logged in now returns a 401 'Unauthorized' error.
- Update node version to v12
- Update dev dependencies
- Add test coverage
- Update docker and docker-compose config