TheOdinProject / theodinproject

Main Website for The Odin Project
http://www.theodinproject.com
MIT License
3.59k stars 2.06k forks source link

Reactivating admin team members #4608

Closed KevinMulhern closed 2 weeks ago

KevinMulhern commented 2 weeks ago

When an old team member returns to the team, I want to reactivate them as an admin, so they can regain access to the admin area.

Acceptance criteria

  1. Log into admin v2 - admin@odin.com, password123
  2. Invite a new team member
  3. Accept the invite and log into the new team members account in an incognito window
  4. Back on first admin account, click the ellipsis menu on the new team member
  5. Click the "Deactivate" option
  6. Find the deactivated admin at the bottom of the page and Reactivate them.
  7. They should move out of the "Deactivated" section
  8. A password reset email should be sent to them
KevinMulhern commented 2 weeks ago

Note: This can only be tested locally - we can't send emails on the review apps

Steps for QA:

  1. Visit /admin_v2 and log in with - admin@odin.com, password1232
  2. Go to the team page and invite a new team member
  3. Accept the invite and log into the new team members account in an incognito window
  4. Back on first admin account, click the ellipsis menu on the new team member
  5. Click the "Deactivate" option
  6. Find the deactivated admin at the bottom of the page and "Reactivate" them.
  7. They should move out of the "Deactivated" section
  8. A password reset email should be sent to that team member