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 65, EXTENSION: Admin disables a user account #18

Open
7 tasks
memcmahon opened this issue May 20, 2019 · 0 comments
Open
7 tasks

User Story 65, EXTENSION: Admin disables a user account #18

memcmahon opened this issue May 20, 2019 · 0 comments

Comments

@memcmahon
Copy link
Collaborator

As an admin user
When I visit the user index page
I see a "disable" button next to any users who are not yet disabled
I see an "enable" button next to any users whose accounts are disabled.
If I click on a "disable" button for an enabled user
I am returned to the admin's user index page
And I see a flash message that the user's account is now disabled
And I see that the user's account is now disabled
This user cannot log in
This user's city/state and orders should not be part of any statistics.

DO THESE STORIES FIRST:

  • User Story 55, Admin User Index Page

Checklist:

  • base tests are written
  • base code is written to pass tests
  • edge case ("sad path") tests written (if required)
  • edge case code written (if required)
  • code is reviewed
  • branch is merged
  • all tests still pass

child of turingschool-projects#201

child of turingschool-projects#274

depends on turingschool-projects#207

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

No branches or pull requests

1 participant