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: Authorize comments #29

Closed
4 tasks done
chris-townsend opened this issue Nov 10, 2022 · 0 comments
Closed
4 tasks done

USER STORY: Authorize comments #29

chris-townsend opened this issue Nov 10, 2022 · 0 comments
Assignees
Labels
1 User Story Estimate is 1 story point development Development Process must-have A must-have feature

Comments

@chris-townsend
Copy link
Owner

chris-townsend commented Nov 10, 2022

User Story:

As a Site admin, I can authorize comments so that I can review the content before it's made public

Accepted Criteria:

  • The user must be authenticated to make a request to post a comment
  • The user should be alerted if they post a comment saying it's under review
    - The user should be alerted if their comment successfully joins the site
  • The comment to be authorized should be displayed in the django admin panel
  • If the comment is approved in the admin panel, it should be displayed on the live site.

Related User Stories:

#28 - Admin CRUD features
#6 - Django Setup

Tasks:

  • Use Django's built-in administration settings
  • Actions Method:
    • Add actions = ['approve_comments'] to admin.py ( any function names)
  • Add approve_comments method
  • Use queryset to update the records

@chris-townsend chris-townsend added must-have A must-have feature 1 User Story Estimate is 1 story point development Development Process labels Nov 10, 2022
@chris-townsend chris-townsend self-assigned this Nov 10, 2022
@chris-townsend chris-townsend moved this from Todo to In Progress in Kitchen Tales Kanban board Nov 16, 2022
@chris-townsend chris-townsend changed the title USER STORY: Authorize recipes and comments USER STORY: Authorize comments Dec 19, 2022
Repository owner moved this from In Progress to Done 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 development Development Process must-have A must-have feature
Projects
Development

No branches or pull requests

1 participant