You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To support the deletion of users and projects, new routes need to be added to Juno. While you're at it, there's a few other QoL tweaks. We want to switch some of our methods to "replace if exists" rather than "throw error if exists." We've already had several situations where a mistyped sendgrid key has to be manually changed on our side when they could've entered in a new key.
Requirements
NEW: DELETE /user route
NEW: DELETE /project route -> also unlinks all users from the project
CHANGE: POST /email/setup -> instead of erroring with sendgrid key already exists, replace the existing sendgrid key (otherwise if someone mistypes their sendgrid key we don't have to go in and delete it)
CHANGE: POST /email/register-domain -> same, replace if already exists
CHANGE: POST /email/verify-domain -> same, replace if already exists
Testing
Test deleting an existing user
Test deleting a nonexistent user
Test deleting existing project
Test deleting non-existent project
Test that user linked to project is no longer linked to project after project deletion
Test being able to replace existing sendgrid key (and potentially remove old test intentionally throwing an error if it exists)
Same for /email/register-domain
Same for /email/verify-domain
The text was updated successfully, but these errors were encountered:
Overview
To support the deletion of users and projects, new routes need to be added to Juno. While you're at it, there's a few other QoL tweaks. We want to switch some of our methods to "replace if exists" rather than "throw error if exists." We've already had several situations where a mistyped sendgrid key has to be manually changed on our side when they could've entered in a new key.
Requirements
Testing
The text was updated successfully, but these errors were encountered: