feat(server,web): Delete and restore user from the admin portal (#935)

* delete and restore user from admin UI

* addressed review comments and fix e2e test

* added cron job to delete user, and some formatting changes

* addressed review comments

* adding missing queue registration
This commit is contained in:
Zeeshan Khan
2022-11-07 16:53:47 -05:00
committed by GitHub
parent 948ff5530c
commit fe4b307fe6
30 changed files with 804 additions and 59 deletions

View File

@@ -104,6 +104,7 @@ describe('User', () => {
isAdmin: false,
shouldChangePassword: true,
profileImagePath: '',
deletedAt: null,
},
{
email: userTwoEmail,
@@ -114,6 +115,7 @@ describe('User', () => {
isAdmin: false,
shouldChangePassword: true,
profileImagePath: '',
deletedAt: null,
},
]),
);