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

Solid and Clean Code: refact delete content #360

Closed
3 of 4 tasks
darmsDD opened this issue Nov 26, 2020 · 0 comments
Closed
3 of 4 tasks

Solid and Clean Code: refact delete content #360

darmsDD opened this issue Nov 26, 2020 · 0 comments

Comments

@darmsDD
Copy link
Contributor

darmsDD commented Nov 26, 2020

Description

Solid and clean code issue. This issue focus on single responsability principle. The ideia is to divide the user delete and the moderator delete into two parts.

Acceptance criteria

  • The user can delete his possessions
  • The moderator has the same delete permissions as before

Tasks

  • Separate function delete_content into two
  • Create function delete_content_moderator
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants