NSS-Day-Cohort-59 / meticulous-magpies

TabloidMVC group project
1 stars 0 forks source link

Two Admins to Deactivate or Demote #2

Closed joshdbarton closed 1 year ago

joshdbarton commented 1 year ago

As the Tabloid Product Owner, I would like to require that two admins agree to deactivate another admin or to change an admin's user type.

DanielOhrin commented 1 year ago

Add functionality to AdminRequest Add the request, then check if there are two yet. If there are, execute changing their IsCurrent to 0, and then execute the requests. Display Message for current requests on user

DanielOhrin commented 1 year ago

Only use AdminRequest if target user in question is not an Admin

DanielOhrin commented 1 year ago

make sure the same admin can't request twice on same user