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 57, Admin can make a User a Merchant #56

Closed
7 tasks
iandouglas opened this issue Apr 1, 2019 · 0 comments · Fixed by #165
Closed
7 tasks

User Story 57, Admin can make a User a Merchant #56

iandouglas opened this issue Apr 1, 2019 · 0 comments · Fixed by #165

Comments

@iandouglas
Copy link

iandouglas commented Apr 1, 2019

As an admin user
When I visit a user's profile page ("/admin/users/5")
I see a link to "upgrade" the user's account to become a merchant
When I click on that link
I am redirected to ("/admin/merchants/5") because the user is now a merchant
And I see a flash message indicating the user has been upgraded
The next time this user logs in they are now a merchant
Only admins can reach any route necessary to upgrade the user to merchant status

DO THESE STORIES FIRST:

  • User Story 55, Admin User Index Page
  • User Story 38, Admin can see a merchant's dashboard

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 #59

child of #125

depends on #58

depends on #79

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

Successfully merging a pull request may close this issue.

2 participants