CrisisCleanup / crisiscleanup-2

[OLD] This version of the codebase was retired on March 27, 2020. Open Source Collaborative Disaster Recovery and Cleanup
https://www.crisiscleanup.org
Other
42 stars 24 forks source link

feat(admin): Improve and automate redeploy flow #490

Closed BradenM closed 4 years ago

BradenM commented 4 years ago

Changes

Admin Flow

Admins receive a new, updated email with information about the organization and new event they wish to redeploy to. By clicking "Accept" they will either be:

a.) Presented to login if not authenticated -> continue to b. b.) Redirected to their dashboard with a notification confirmed their acceptance.

Model

Creates a new Redeploy Request model for tracking requests, preventing duplicates, generating tokens for admin endpoints, etc.

Previews

Updated alert email:

email

Admin Accepts Org:

acceptadmin

Org makes multiple requests:

multiple

Auto-generated acceptance email sent to org:

accepted