Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(users): allow deleting users. Fixes MA-100 #145

Merged
merged 2 commits into from
Oct 16, 2020

Conversation

serge1peshcoff
Copy link
Member

backend for https://myaegee.atlassian.net/browse/MA-100, there will be another PR for frontend

@serge1peshcoff serge1peshcoff requested a review from a team October 15, 2020 09:11
@codecov-io
Copy link

Codecov Report

Merging #145 into master will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##            master      #145   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           42        42           
  Lines         1303      1309    +6     
  Branches       199       200    +1     
=========================================
+ Hits          1303      1309    +6     
Impacted Files Coverage Δ
lib/server.js 100.00% <100.00%> (ø)
middlewares/members.js 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 27adc50...114a8d2. Read the comment docs.

Copy link
Member

@WikiRik WikiRik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Check out my comment but lgtm

@@ -48,15 +48,17 @@ exports.updateUser = async (req, res) => {
});
};

// TODO: reimplement by not deleting, but anonymizing a user.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this still something you would want to add in the future?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yep, we need the ability to soft-delete a user in the future anyway. This would probably be another endpoint, as it also should be accessible by user himself

@serge1peshcoff serge1peshcoff merged commit 821cc08 into master Oct 16, 2020
@serge1peshcoff serge1peshcoff deleted the allow-deleting-users branch October 16, 2020 07:24
serge1peshcoff pushed a commit that referenced this pull request Oct 16, 2020
# [1.29.0](1.28.0...1.29.0) (2020-10-16)

### Features

* **users:** allow deleting users. Fixes MA-100 ([#145](#145)) ([821cc08](821cc08))
@serge1peshcoff
Copy link
Member Author

🎉 This PR is included in version 1.29.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants