Open
Description
Checks
- I have thoroughly read and understand The Odin Project Contributing Guide
- The title of this issue follows the
Feature Request: brief description of feature request
format, e.g.Feature Request: Add a dark mode to the website
- Would you like to work on this issue?
Description of the Feature Request
When an admin bans a user, the user should receive an email to let them know their account was banned, possible reasons, and an invitation to contact us.
Acceptance criteria
- Sign in as a normal user with an email address that you have access to
- Go to the recipes project
- Flag one of the submissions
- Sign in to /admin_v2 (user: admin@odin.com, password: password123)
- Visit the Flags page
- Select the most recent flag
- Click "Resolve flag", choose "Ban User" and then click "Submit"
- A notice should appear "Project submission owner has been banned" and a "Banned" badge should be under the flag heading
- The flag should be in the resolved list back on the Flag index page
- The email address used to sign in should receive an email with the ban template
Email Body:
Your account has been banned because you have broken one of our rules. For example:
- One of your project submissions contained NSFW or other highly offensive images
- One of your project submissions contained bigotry, such as racism, homophobia, hate speech
- One of your project submissions were plagiarized
If you are unsure of the rules that were broken, you may reach out to us at theodinprojectcontact@gmail.com
Additional Comments
No response
Metadata
Metadata
Assignees
Labels
No labels