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
Currently, Debbie has the ability to approve and decline new account requests from the notifications drawer. However, if Debbie accidentally approves an account there’s no way to deactivate the account.
With the new accounts page, Debbie can also view and approve/deny pending accounts as well as view all approved accounts and deactivate them.
Notes
Using the existing GET /pending-accounts, GET /approved-accounts, PUT /approve/:uid and DELETE /:uid routes, create a pending accounts table and approved accounts table.
Ignore the "select all" and checkbox functionality in the tables
Don't worry about matching the design for now
Acceptance Criteria
Once an account is deactivated or denied, it disappears from the table without having to reload.
Once an account is approved, it is moved from the pending table to the accounts table without having to reload the page.
After approval of an account, you can log in. After deactivating an account, you can no longer log in.
Instructions
Notes
GET /pending-accounts
,GET /approved-accounts
,PUT /approve/:uid
andDELETE /:uid
routes, create a pending accounts table and approved accounts table.Acceptance Criteria
Resources
The text was updated successfully, but these errors were encountered: