coding-blocks / coding-blocks/gondor

[Users] Implement undo user delete feature

Open
#135 9 comments 0 reactions 0 assignees View on GitHub
BOSS BOUNTY: 200
Dominant language
SCSS
Stars
29
Forks
36
PR merge metrics
No merged PRs in 30d

Description

Once https://github.com/coding-blocks/gondor/issues/134 is resolved, we need a way to undo the delete by the admins.

- [ ] add a `userEnable` mutation to undo the delete.
- [ ] allowed only for admins.
- [ ] add an argument to the users query type named 'includeDisabled' based on which you include the disabled entities in the results too. By default it can be false. Even if it is true, the disabled entities shall only be included if the user is admin.
- [ ] in the users query type, the default order should be based on the deleted_at, and should also be used as a fallback even if another column is provided via args to sort based on.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.