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

Open
7 tasks
BrianZanti opened this issue Apr 18, 2019 · 0 comments
Open
7 tasks

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

BrianZanti opened this issue Apr 18, 2019 · 0 comments

Comments

@BrianZanti
Copy link
Collaborator

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

child of #274

depends on #207

depends on #228

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