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

USER STORY: Ban a user #38

Open
2 tasks
chris-townsend opened this issue Nov 14, 2022 · 0 comments
Open
2 tasks

USER STORY: Ban a user #38

chris-townsend opened this issue Nov 14, 2022 · 0 comments
Assignees
Labels
1 User Story Estimate is 1 story point could-have A could-have feature

Comments

@chris-townsend
Copy link
Owner

User Story:

As a Site admin, I can ban a user so that they are blocked if they violate the site rules

Useful Docs:

User model documentation - https://docs.djangoproject.com/en/3.0/ref/contrib/auth/#django.contrib.auth.models.User.is_active

Tasks:

  • Create a Boolean field in the user profile e.g. is_banned
  • Edit the view to handle the banned user
    • user.is_active = False

@chris-townsend chris-townsend added could-have A could-have feature 1 User Story Estimate is 1 story point labels Nov 14, 2022
@chris-townsend chris-townsend self-assigned this Nov 14, 2022
@chris-townsend chris-townsend moved this from Todo to Future Features in Kitchen Tales Kanban board Dec 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1 User Story Estimate is 1 story point could-have A could-have feature
Projects
Status: Future Features
Development

No branches or pull requests

1 participant